1.2.2
v1.2.2 Bugfix Release
This is a bug fix release for various issues discovered after we released 1.2.1. There are no new major features, just bug fixes. Database files created by DuckDB versions all the way back to v0.9.* can be read by this version.
What's Changed
- [Python] Fix deadlock in
from_parquetwithfile_globscaused by not releasing the GIL by @Tishj in https://github.com/duckdb/duckdb/pull/16522 - [Python] Fix some stubs issues by @Tishj in https://github.com/duckdb/duckdb/pull/16523
- [Dev] Fix issues in the benchmark runner related to the serialized
storage_versionby @Tishj in https://github.com/duckdb/duckdb/pull/16533 - Set estimated cardinality to newly created logical operators by @jeewonhh in https://github.com/duckdb/duckdb/pull/16528
- custom_extension_repository to also be the default autoinstall_extension_repository by @carlopi in https://github.com/duckdb/duckdb/pull/16459
- [Python Dev] No longer trigger a DeprecationWarning when using a UDF by @Tishj in https://github.com/duckdb/duckdb/pull/16433
- Fixup problems connected to prep to 1.2.1 by @carlopi in https://github.com/duckdb/duckdb/pull/16578
- Give preference to quote=escape if we can't do better by @pdet in https://github.com/duckdb/duckdb/pull/16584
- Max ART key length by @taniabogatsch in https://github.com/duckdb/duckdb/pull/16588
- Issue #16617: Window Constant Finalize by @hawkfish in https://github.com/duckdb/duckdb/pull/16628
- [Fix] Index scan - Move the table scan state into the local state by @taniabogatsch in https://github.com/duckdb/duckdb/pull/16650
- [Fix] Perform eager constraint checking during physical batch insert by @taniabogatsch in https://github.com/duckdb/duckdb/pull/16651
- [Python] Don't push down
OPTIONAL_FILTERintopyarrowfor the arrow scan. by @Tishj in https://github.com/duckdb/duckdb/pull/16657 - move OrderPreservationRecursive to physical_plan_generator.hpp by @jeewonhh in https://github.com/duckdb/duckdb/pull/16656
- Add libs folder to bundled static libs by @taniabogatsch in https://github.com/duckdb/duckdb/pull/16655
- Avoid UMA by @krlmlr in https://github.com/duckdb/duckdb/pull/16641
- Avoid UMA by @krlmlr in https://github.com/duckdb/duckdb/pull/16643
- Avoid UMA by @krlmlr in https://github.com/duckdb/duckdb/pull/16642
- Several fixes for CSV fuzzer tests by @pdet in https://github.com/duckdb/duckdb/pull/16636
- FSST Fix: Correctly detect the situation where we have 3 bytes remaining by @Mytherin in https://github.com/duckdb/duckdb/pull/16688
- Fix #16627: handle DISTINCT FROM and NOT DISTINCT FROM in zone-map pushdown by @Mytherin in https://github.com/duckdb/duckdb/pull/16691
- Fix #16554: emit blobs as part of .dump by @Mytherin in https://github.com/duckdb/duckdb/pull/16693
- add avro by @samansmink in https://github.com/duckdb/duckdb/pull/16708
- Issue #16652: Implicit Ordered Aggregation by @hawkfish in https://github.com/duckdb/duckdb/pull/16718
- Issue #16649: SelectNth Remainders by @hawkfish in https://github.com/duckdb/duckdb/pull/16705
- [Dev] Fix
EXPORT DATABASEmissing semicolons in producedschema.sqlby @Tishj in https://github.com/duckdb/duckdb/pull/16723 - Always throw the error that happens the earliest in the CSV Reader by @pdet in https://github.com/duckdb/duckdb/pull/16728
- Fix #16662 by @lnkuiper in https://github.com/duckdb/duckdb/pull/16732
- [Test] Add missing test for eager-constraint checking fix by @taniabogatsch in https://github.com/duckdb/duckdb/pull/16745
- Clamp reported memory in duckdb_memory by @Mytherin in https://github.com/duckdb/duckdb/pull/16753
- CLI
-help: Fix default value for -nullvalue by @carlopi in https://github.com/duckdb/duckdb/pull/16755 - Apply RLE fix to v1.2 by @Mytherin in https://github.com/duckdb/duckdb/pull/16756
- [Arrow] Setting schema of the keys to not null for maps and properly write Null columns to arrow by @pdet in https://github.com/duckdb/duckdb/pull/16711
- Fix min/max values in numeric cast exception message by @abramk in https://github.com/duckdb/duckdb/pull/16777
- [ADBC] Add wrapper to connection new, set options at connection init, if any. by @pdet in https://github.com/duckdb/duckdb/pull/16748
- Remove delta from extensions built on a nightly basis (vs 1.2-histrionicus) by @carlopi in https://github.com/duckdb/duckdb/pull/16794
PhysicalTopN: Buffer-allocatedStringHeapby @lnkuiper in https://github.com/duckdb/duckdb/pull/16770- [chore] Add v1.2.2 to storage versions, preparation for upcoming patch release by @carlopi in https://github.com/duckdb/duckdb/pull/16799
- Fix issue when line is empty by @pdet in https://github.com/duckdb/duckdb/pull/16823
- Add extra check in normalize for commit, rollback and abort by @pdet in https://github.com/duckdb/duckdb/pull/16802
- Fix #16783: Fix DistributivityRule by @flashmouse in https://github.com/duckdb/duckdb/pull/16804
- Internal #4492: Ignore Nulls Orrification by @hawkfish in https://github.com/duckdb/duckdb/pull/16837
- Fix #16836: rewrite main column data in case of an update that only modifies the validity by @Mytherin in https://github.com/duckdb/duckdb/pull/16851
- Initialize type by @pdet in https://github.com/duckdb/duckdb/pull/16848
- [CSV Reader] Add check on ever quoted for candidate selection by @pdet in https://github.com/duckdb/duckdb/pull/16868
- Clean up partial deletes when encountering a transaction conflict in a vector by @Mytherin in https://github.com/duckdb/duckdb/pull/16905
- Fix clang-tidy: add missing include by @Mytherin in https://github.com/duckdb/duckdb/pull/16920
- Backport "Adding gzip version of shell for linux/osx install script" by @carlopi in https://github.com/duckdb/duckdb/pull/16917
- Backport "Adding gzip version of shell for linux/osx install script"/2 by @carlopi in https://github.com/duckdb/duckdb/pull/16924
- Skip tests for Python 3.8, already end-of-life by @carlopi in https://github.com/duckdb/duckdb/pull/16923
- Bump to avro version that now support wasm by @carlopi in https://github.com/duckdb/duckdb/pull/16916
- Unwrap DUCKDB_EXTENSION__LINKED_LIBS via CMake by @carlopi in https://github.com/duckdb/duckdb/pull/16914
- Skip manylinux-extensions-x64 job by @carlopi in https://github.com/duckdb/duckdb/pull/16932
- [Fix] Disable recursion for invalidated database error by @taniabogatsch in https://github.com/duckdb/duckdb/pull/16907
- bump excel (on v1.2) by @Maxxen in https://github.com/duckdb/duckdb/pull/16915
- [Fix] Flush local storage before any deletes by @taniabogatsch in https://github.com/duckdb/duckdb/pull/16951
- [Python] Fix PyArrow filter pushdown for NaN by @Tishj in https://github.com/duckdb/duckdb/pull/16952
- Allow overriding the Printer::Print output destination by @bleskes in https://github.com/duckdb/duckdb/pull/16909
- bump out-of-tree extensions to v1.2.2 by @Tmonster in https://github.com/duckdb/duckdb/pull/16913
- Allow SQL prepared statements to be rebound by @NiclasHaderer in https://github.com/duckdb/duckdb/pull/16820
- Fix #16959: binding constraints should not modify the original constraints by @Mytherin in https://github.com/duckdb/duckdb/pull/16971
- Add back manylinux extensions [on v1.2-histrionicus] AND bump extensions by @carlopi in https://github.com/duckdb/duckdb/pull/16976
- Skip TPC-DS Q67 on DOUBLE by @Mytherin in https://github.com/duckdb/duckdb/pull/16987
- Re-enable iceberg by @carlopi in https://github.com/duckdb/duckdb/pull/16992
- Try enabling and bump delta by @Maxxen in https://github.com/duckdb/duckdb/pull/16990
- Backport @szarnyasg's PR 16999 by @carlopi in https://github.com/duckdb/duckdb/pull/17013
Full Changelog: https://github.com/duckdb/duckdb/compare/v1.2.1...v1.2.2