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