Commit 45e1670
authored
Merge v1.5-variegata and integrate the latest DuckDB main (#494)
Merges the v1.5-variegata branch into main and updates the DuckDB
submodule to latest main, which pulls in a big wave of breaking core API
changes.
The most important fixes:
- Migrating table filters to expression filters
- Migrating string identifiers to the `Identifier` type
- Rewrote the buggy enum `type_caster`s (pybind's caster machinery it
uses to cast between python objects and e.g. `ExplainType`,
`PythonUDFType`, `FunctionNullHandling`, …) to not violate the ODR
- Added timestamp_tz_ns support (incl. pyspark)
- Passing `ClientContext` to `MaxLogicalType`/`ForceMaxLogicalType`
(cascading into `TransformPythonValue`/`TransformPythonObject` calls).
- Migrating `SetCardinality` calls to `SetChildCardinality` and
`CheckCardinality` wherever needed
- Supporting `SQLNULL` in result schemas.
- Added support for `EXPLAIN` / profiler's `ProfilerPrintFormat` through
a `format=` param in `explain()`
- Adapted ADBC tests to the default `TransactionInvalidationPolicy`
One remaining follow-up: the `query_graph` HTML profiler renderer is
outdated because of the new nested profiling schema. I'm xfailing the
test now so we get CI green again, but will fix before v2.0. cc
@guillesd70 files changed
Lines changed: 1793 additions & 914 deletions
File tree
- _duckdb-stubs
- cmake
- duckdb
- experimental/spark/sql
- external
- scripts
- src/duckdb_py
- arrow
- include/duckdb_python
- arrow
- numpy
- pandas
- pybind11
- conversions
- pyconnection
- native
- numpy
- pandas
- pyconnection
- pyexpression
- pyrelation
- typing
- tests
- extensions/json
- fast
- adbc
- api
- arrow
- pandas
- spark
- slow
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | 312 | | |
326 | 313 | | |
327 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
328 | 321 | | |
329 | 322 | | |
330 | 323 | | |
| |||
433 | 426 | | |
434 | 427 | | |
435 | 428 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | 429 | | |
450 | 430 | | |
451 | | - | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
452 | 438 | | |
453 | 439 | | |
454 | 440 | | |
| |||
551 | 537 | | |
552 | 538 | | |
553 | 539 | | |
554 | | - | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
555 | 543 | | |
556 | 544 | | |
557 | 545 | | |
| |||
1061 | 1049 | | |
1062 | 1050 | | |
1063 | 1051 | | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | 1052 | | |
1078 | | - | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
1079 | 1060 | | |
1080 | 1061 | | |
1081 | 1062 | | |
| |||
1232 | 1213 | | |
1233 | 1214 | | |
1234 | 1215 | | |
1235 | | - | |
1236 | | - | |
1237 | | - | |
1238 | | - | |
1239 | | - | |
1240 | | - | |
1241 | | - | |
1242 | | - | |
1243 | | - | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
1247 | | - | |
1248 | 1216 | | |
1249 | | - | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
1250 | 1224 | | |
1251 | 1225 | | |
1252 | 1226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | 110 | | |
143 | 111 | | |
144 | 112 | | |
| |||
234 | 202 | | |
235 | 203 | | |
236 | 204 | | |
237 | | - | |
238 | 205 | | |
239 | 206 | | |
240 | 207 | | |
241 | 208 | | |
242 | 209 | | |
243 | 210 | | |
244 | 211 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | 212 | | |
251 | 213 | | |
252 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| 46 | + | |
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
| |||
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
65 | | - | |
66 | | - | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
242 | 263 | | |
243 | 264 | | |
244 | 265 | | |
| |||
0 commit comments