What duckdb/duckdb shipped
Written by FoxPlug from the repository's own releases; not affiliated with DuckDB. Paste your own repository in the box below and FoxPlug writes the same weekly update for your product. This page is an automatic summary of the releases, pull requests and commits in github.com/duckdb/duckdb; DuckDB did not write it and does not use or endorse FoxPlug. Every line links to the change it describes.
Get a weekly update like this for your product, free
Week of November 9, 2026
What shipped
- Finished scans now release their read-ahead memory reservation instead of holding it until the query ends. Pull request #28687
- Hash aggregates whose states cannot spill no longer abandon on every chunk, avoiding repeated wasted work when the arena alone is over the limit. Pull request #28646
- Multi-key hash joins can now build per-column runtime filters, so the probe side sends fewer rows that cannot match. Pull request #28726
- Dictionary output from hash joins is generalized for scalar payloads and enabled for small builds with LIST or MAP payloads covering every build entry. Pull request #28718
- BindStatement now binds without running the full planning passes, so statement description no longer plans the whole query. Pull request #28690
- The estimate of a pushed down partial aggregate is now capped by its own input and group domains. Pull request #28716
- AddDefaultCastToType was removed; former callers use AddCastToType so user-registered casts apply. Pull request #28757
- Duckdb_extensions() now lists extensions found in user-provided repositories. Pull request #28663
- CREATE EXTENSION REPOSITORY lets a repository without a prefix be named after its publisher's host via the well-known metadata file. Pull request #28719
- ALP size estimates use the untruncated multiplier and the block size requirement was relaxed. Pull request #28695
Why it matters
This week brings several memory and performance fixes: scans release read-ahead reservations when done, non-spillable hash aggregates stop abandoning repeatedly, and joins get runtime filters and reusable dictionary output. It also makes the SQL surface more usable with extensions listed from user-provided repositories and user-registered casts applying to more casts.
Changelog entry
- Release the read-ahead memory reservation when a scan is exhausted. Pull request #28687
- Stop non-spillable hash aggregates from abandoning on every chunk. Pull request #28646
- Build per-column runtime filters for multi-key hash joins. Pull request #28726
- Generalize reusable dictionary output from hash joins for scalar and small LIST/MAP payloads. Pull request #28718
- BindStatement binds only and skips planning passes that do not feed its signature. Pull request #28690
- Cap the estimate of a pushed down partial aggregate by its input and group domains. Pull request #28716
- Remove AddDefaultCastToType; callers use AddCastToType so registered casts apply. Pull request #28757
- Duckdb_extensions() lists extensions in user-provided repositories. Pull request #28663
- Add CREATE EXTENSION REPOSITORY for host-named repositories. Pull request #28719
- Improve ALP size estimate and relax the block size requirement. Pull request #28695
- Support TIMESTAMP_TZ_NS in the unshredded parquet variant encoder. Pull request #28804
- Redact
refresh_infoin safe mode for secrets. Pull request #28679
This week: finished scans release read-ahead memory, non-spillable hash aggregates stop abandoning every chunk, multi-key hash joins build per-column runtime filters, and duckdb_extensions() lists extensions in user-provided repositories.
This week in DuckDB: finished scans release their read-ahead memory reservation instead of holding it until the query ends; hash aggregates whose states cannot spill no longer abandon on every chunk; multi-key hash joins can build per-column runtime filters; small hash join builds with LIST or MAP payloads can reuse dictionary output. BindStatement now skips planning passes it does not need, and partial aggregate pushdown estimates are capped by input and group domains. duckdb_extensions() lists extensions in user-provided repositories, and user-registered casts now apply to compressed materialization and former default cast callers.
Week of November 2, 2026
What shipped
- The commit of a USING KEY recursive CTE now materializes each key's finalized values, and reads no longer invoke aggregate callbacks. Pull request #28078
- More code moved from ClientContext to Context, ClientBufferManager is renamed to ContextBufferManager, and ClientContext::Services is now GetContext. Pull request #28417
- Added TIMESTAMP[TZ]_NS plus and minus INTERVAL support. Pull request #28279
- Common subplan sharing now respects table-function stability, so repeated table-function calls that produce different rows are not merged. Pull request #28324
- Added an optional deserialization policy to restrict logical types and literal kinds, including nested and legacy representations. Pull request #28416
- Extensions can now expose read files for statistics, so readers that supply their own schema can get statistics. Pull request #28427
- Disabled_filesystems now reports the file systems that are actually disabled. Pull request #28440
- Batched the Ready To Merge fixes from Robinho-MR/duckdb into main. Pull request #28420
- An integration branch merged four fixes to get main CI green again. Pull request #28548
- Passed the full vector count to the row id filter so a Bloom filter under a selection no longer overruns its hash buffer. Pull request #28505
Why it matters
This week brought a broad set of correctness fixes across recursive CTEs, casts, statistics overflow, parsing and normalization, plus a continued refactor of context handling. It also added extension-facing features such as deserialization policies and statistics access for custom readers, and stabilized CI so main stays usable.
Changelog entry
- Fixed a Bloom filter overrun by passing the full vector count to the row id filter. Pull request #28505
- Merged an integration branch with four fixes to restore green CI on main. Pull request #28548
- Materialized finalized values of keyed recursive CTE state at commit, so reads do not invoke aggregate callbacks. Pull request #28078
- Made
disabled_filesystemsreport the file systems that are actually disabled. Pull request #28440 - Batched Ready To Merge fixes from Robinho-MR/duckdb into main. Pull request #28420
- Exposed read files for statistics to extensions, covering readers with custom schemas. Pull request #28427
- Moved more code from ClientContext to Context and renamed ClientBufferManager to ContextBufferManager. Pull request #28417
- Respected table-function stability when sharing common subplans. Pull request #28324
- Added optional deserialization policies to restrict logical types and literal kinds. Pull request #28416
- Added TIMESTAMP[TZ]_NS plus and minus INTERVAL support. Pull request #28279
This week: USING KEY recursive CTE finalization, nanosecond timestamp arithmetic, deserialization policies, extension statistics hooks, and many cast, parsing and overflow fixes. CI is green again with a batch of merged fixes.
This week the project shipped a rework of USING KEY recursive CTE finalization, nanosecond arithmetic for TIMESTAMP and TIMESTAMPTZ, and optional deserialization policies that restrict logical types and literal kinds. Extensions can now expose read files for statistics, and disabled_filesystems reports what is actually disabled. Correctness work covered casts, statistics overflow, time and timestamp parsing, NFC normalization and catalog filter pushdown. A batch of Ready To Merge fixes landed and an integration branch got main CI green again.
Week of October 26, 2026
What shipped
- Detect write-write conflicts between DELETE and UPDATE of the same row so concurrent transactions no longer silently lose one of the writes. Pull request #26676
- Allow a sort to switch to external spilling mode after a thread has finished its run in memory, avoiding out-of-memory errors where spilling would have succeeded. Pull request #28003
- Fix out-of-memory errors in
read_jsonwithunion_by_nameover many files by reducing the memory held for the sampling readers. Pull request #28005 - Free a segment's buffer once its data is copied into a partial block so small compressed segments no longer hold far more buffer memory than needed. Pull request #28129
- Fix merged V2 C API aggregates that share a signature so each aggregate returns its own result instead of the first one's. Pull request #28118
- Stop flipping comparisons of a negated float against a NaN constant, which previously returned every row. Pull request #28071
- Preserve the frame ORDER BY tie-breakers in window self-join so results keep the window ordering. Pull request #28029
- Fix the dictionary-surviving hash join internal error on UNNEST and cross product build sides. Pull request #28087
- Push join filters through more operators including aggregations and windows, and follow equivalent inner-join keys to reach additional scans. Pull request #28086
- Fix autocomplete dropping the text after the cursor when completing file names in statements such as describe from. Pull request #28114
Why it matters
This week covers correctness and stability across concurrency, memory and query planning. Concurrent DELETE and UPDATE on the same row now conflict instead of losing a write, and sorts and JSON scans hold less memory and spill or stop leaking buffers instead of failing with out-of-memory errors. Several optimizer and execution fixes remove wrong results and internal errors.
Changelog entry
- Detect write-write conflicts between DELETE and UPDATE of the same row. Pull request #26676
- Let a sort go external after a thread finished its run in memory. Pull request #28003
- Fix out-of-memory in
read_jsonwithunion_by_nameover many files. Pull request #28005 - Free a segment's buffer once its data is copied into a partial block. Pull request #28129
- Fix merged V2 C API aggregates with the same signature. Pull request #28118
- Do not flip comparisons of a negated float with a NaN constant. Pull request #28071
- Keep window frame ORDER BY tie-breakers in window self-join. Pull request #28029
- Fix dictionary-surviving hash join internal error on UNNEST and cross product build sides. Pull request #28087
- Push join filters through aggregations and windows and follow equivalent inner-join keys. Pull request #28086
- Fix autocomplete dropping text after the cursor. Pull request #28114
- Do not push a cast into
read_csvwhen the scan has a custom schema. Pull request #28109 - Update time zone data to 2026f. Pull request #28108
This week: DELETE and UPDATE of the same row now conflict instead of silently losing a write, sorts can spill after finishing in memory, read_json with union_by_name uses less memory over many files, and V2 C API aggregates with matching signatures return their own results.
This week in DuckDB: concurrent DELETE and UPDATE of the same row now conflict instead of silently losing a write, sorts can switch to external spilling after a thread finishes in memory to avoid out-of-memory errors, and read_json with union_by_name no longer hits out-of-memory over many files. Merged V2 C API aggregates with the same signature now return their own results, negated float comparisons against NaN no longer return every row, and window self-join keeps its frame ORDER BY tie-breakers. Join filter pushdown now reaches more operators, and the dictionary-surviving hash join internal error on UNNEST and cross product build sides is fixed.
Week of October 19, 2026
What shipped
- Live query metrics are now exposed while a query runs for bytes read, bytes written and memory allocated, instead of only appearing in the final profile. Pull request #26311
- The profile of a query that fails or is interrupted is now emitted instead of being thrown away. Pull request #26578
- Query.total_bytes_scanned and operator.bytes_scanned were added to report the bytes each Parquet scan reads, independent of file fetches, footer pre-reads, merged column ranges and cache hits. Pull request #26774
- COPY TO gained a RETURN_COLUMN_TYPES option that adds a columns column of STRUCT(name, type)[] to the result. Pull request #26650
- Files whose extension indicates a compression type DuckDB cannot read are now refused instead of being opened as plain text. Pull request #26306
- The optimizer is now lazily initialized, reducing per-statement overhead for BEGIN, COMMIT and prepared statement EXECUTE. Pull request #27441
- Date arithmetic, cast statistics, avg and far-apart timestamp subtraction now handle infinite and extreme timestamps correctly. Pull request #27627
- Read_json added a
case_insensitive_keysoption to match object keys to columns ignoring case. Pull request #26817 - GROUP BY ALL was fixed for collated subquery groups, volatile groups being evaluated twice, and HAVING adding its own groups. Pull request #27624
- DuckDBPlatform now reports the correct platform on LoongArch64 and RISC-V 64 instead of
linux_amd64. Pull request #27669
Why it matters
This week brings visibility into queries while they run, with live metrics and profiles kept for failed or interrupted queries. Parquet scans also gain a byte counter that measures scanned data rather than IO, and a set of correctness fixes covers timestamps, JSON keys, CSV sniffing and GROUP BY ALL.
Changelog entry
- Expose live query metrics for bytes read, bytes written and memory allocated during execution. Pull request #26311
- Emit the profile of queries that fail or are interrupted instead of discarding it. Pull request #26578
- Add query.total_bytes_scanned and operator.bytes_scanned for Parquet scans. Pull request #26774
- Add RETURN_COLUMN_TYPES option to COPY TO. Pull request #26650
- Refuse files whose extension indicates a compression type DuckDB cannot read. Pull request #26306
- Lazy initialize the optimizer to reduce per-statement overhead. Pull request #27441
- Fix infinite timestamp handling in date arithmetic, cast statistics, avg and far-apart subtraction. Pull request #27627
- Add
case_insensitive_keystoread_jsonfor matching object keys to columns ignoring case. Pull request #26817 - Fix GROUP BY ALL with collated subquery groups, volatile groups and HAVING. Pull request #27624
- Fix STRUCT to MAP cast throwing on all-NULL input. Pull request #27671
- Fix platform detection on LoongArch64 and RISC-V 64. Pull request #27669
- Implement DATE_PART for TIMESTAMPTZ_NS in the ICU extension. Pull request #27191
Live query metrics are now exposed while a query runs. Failed and interrupted queries keep their profiles. Parquet scans report bytes scanned via query.total_bytes_scanned. Plus RETURN_COLUMN_TYPES for COPY TO and fixes for infinite timestamps, read_json keys and GROUP BY ALL.
This week in DuckDB: query-level counters for bytes read, bytes written and memory allocated are now exposed while a query runs, and the profile of a query that fails or is interrupted is emitted instead of discarded. Parquet scans add query.total_bytes_scanned and operator.bytes_scanned, which measure the bytes a scan read rather than whole-file fetches. COPY TO gains RETURN_COLUMN_TYPES for returning column names and types. Correctness fixes cover infinite and extreme timestamps in date arithmetic and avg, read_json case-insensitive key matching, CSV sniffer behavior, GROUP BY ALL with collated and volatile groups, and STRUCT to MAP casts on all-NULL input. Platform detection now reports the right value on LoongArch64 and RISC-V 64.
Week of October 12, 2026
What shipped
- Adds an optimizer that rewrites disjunctive equality joins, covering INNER, LEFT, RIGHT, FULL OUTER, SEMI and ANTI joins whose condition is an OR of 2 to 16 cross-input equalities. Pull request #22797
- Merges the v2.0-cyanoptera branch into main. Pull request #27371
- Marks every function in the V2 C API as unstable for v2.0.0 so their signatures and vtable slots are not frozen by the release. Pull request #27410
- Reduces parser scanning and token-iterator overhead by inlining trivial token accessors, reusing ASCII classification and rejecting overlong literal lookups before hashing. Pull request #27393
- Treats GEOMETRY to GEOMETRY casts as casts that cannot fail, since they only change CRS metadata and incompatible CRSs are rejected at bind time. Pull request #27249
- Fixes internal errors when reading VARIANT fields nested inside a STRUCT through subqueries and views. Pull request #26900
- Fixes internal errors when extracting a VARIANT field nested in a STRUCT through a projection. Pull request #27377
- Stops join elimination from carrying a distinct group across LIMIT, TOP_N, SAMPLE and WINDOW operators. Pull request #27196
- Allows the schema option to be combined with hive partitioning in
read_parquet. Pull request #26976 - Checks key columns for NULLs under the append lock in ALTER TABLE ADD PRIMARY KEY so a concurrently committed NULL cannot remain. Pull request #26920
Why it matters
This week brings a new join optimizer pass for disjunctive equality joins, parser and aggregation performance work, and a fix for grouped aggregation running out of memory at low limits. It also lands a range of correctness fixes across VARIANT in STRUCT, GEOMETRY casts, Parquet, Arrow and the C API, and merges the v2.0-cyanoptera branch into main.
Changelog entry
- Add disjunctive join rewriter optimizer pass for OR-of-equalities join conditions. Pull request #22797
- Merge v2.0-cyanoptera into main. Pull request #27371
- Mark all V2 C API functions unstable for v2.0.0. Pull request #27410
- Reduce parser scanning and token-iterator overhead. Pull request #27393
- Improve aggregate state initialization and update performance. Pull request #27378
- Fix grouped aggregation out-of-memory errors at low memory limits. Pull request #27298
- Treat GEOMETRY to GEOMETRY casts as non-throwing. Pull request #27249
- Fix reading VARIANT fields of a STRUCT through subqueries or views. Pull request #26900
- Fix extracting a VARIANT field nested in a STRUCT through a projection. Pull request #27377
- Allow the schema option together with hive partitioning. Pull request #26976
- Make the Parquet COPY SHREDDING option preserve column name case. Pull request #27160
- Fix Arrow scan filter pushdown errors. Pull request #27319
This week: a new optimizer pass for disjunctive equality joins, parser and aggregation performance work, and a grouped aggregation OOM fix. Also VARIANT-in-STRUCT, GEOMETRY cast, Parquet and Arrow fixes, and v2.0-cyanoptera merged into main.
This week in DuckDB: a new optimizer pass rewrites disjunctive equality joins across INNER, LEFT, RIGHT, FULL OUTER, SEMI and ANTI joins. Parser scanning overhead is reduced, aggregate state handling is faster, and grouped aggregation no longer runs out of memory at low limits. Correctness fixes cover VARIANT fields nested in STRUCT through subqueries, views and projections, GEOMETRY to GEOMETRY casts, Arrow dictionary scans with NULL indices, Parquet interval dictionaries and field-id ordering, and combining schema with hive partitioning. The V2 C API is marked unstable for v2.0.0, and the v2.0-cyanoptera branch is merged into main.
Week of October 5, 2026
What shipped
- Fixed a set of performance regressions from v1.5 to v2.0, mostly around hot loops, table filtering and small optimizer behavior, while leaving a few join order regressions unresolved. Pull request #26791
- Made adaptive hash table growing for aggregations use telemetry-based signals instead of very conservative resizing, to reduce performance cliffs with fixed worker counts or growing group counts. Pull request #26166
- Deeply nested expressions are now rejected during transformation instead of overflowing the stack, so they fail with a proper error under the
max_expression_depthsetting. Pull request #26591 - Bounded unbounded type nesting depth at the parser and engine level by tracking depth through transformer and type visitor recursion. Pull request #26269
- Fixed yearweek filters returning wrong rows when a column range includes ISO year 0 or a negative ISO year. Pull request #26790
- Fixed CTAS using excessive temporary storage in in-memory databases by addressing SuballocationBlock ownership through the append state chain. Pull request #25707
- Added a Parquet named parameter to control reading INT96 into various types and implemented full width INT96 reads into
timestamp_nsand struct, saturating out-of-range values to plus or minus infinity. Pull request #26503 - Made the BLOB to BIT cast fallible so TRY_CAST returns NULL on an empty BLOB instead of surfacing an internal exception. Pull request #26761
- Added log storage to the V2 C API under the name log sink, carried over from the V1 API. Pull request #26872
- Extended the V2 C API with custom PRAGMA functions, custom configuration options with change callbacks, vector try casts, and scalar and table MACRO functions for extensions. Pull request #26863
Why it matters
This week mixes correctness and performance work with steady movement on the V2 C API, so extension authors get more of the pieces they need while regular users get fixes for wrong results, stack overflows and excessive temporary storage. Several long-standing issues around nested expressions, INT96 Parquet timestamps, yearweek filters and VARIANT handling are addressed. Performance regressions from v1.5 to v2.0 also get attention, though a few join order regressions remain open.
Changelog entry
- Fixed a set of performance regressions between v1.5 and v2.0 in hot loops, table filtering and small optimizer paths. Pull request #26791
- Aggregation hash tables now grow adaptively based on telemetry rather than very conservative resizing. Pull request #26166
- Expressions nested deeper than
max_expression_depthare now rejected during transformation instead of overflowing the stack. Pull request #26591 - Type nesting depth is now bounded at the parser and engine level. Pull request #26269
- Fixed yearweek filters for dates before ISO year 1, including year 0 and negative years. Pull request #26790
- Reduced excessive temporary storage when creating tables in in-memory databases. Pull request #25707
- Parquet INT96 data can now be read into
timestamp_nsand struct, with a named parameter to control the target type. Pull request #26503 - The BLOB to BIT cast is now a try-cast, so TRY_CAST returns NULL for an empty BLOB. Pull request #26761
- Shredding no longer fails when VARIANT object keys collide only by case. Pull request #24553
- Shredded VARIANT casts no longer skip overflow checks when a nullability fold removes the cast. Pull request #25836
- Fixed column mapping for pushed down extract expressions after schema evolution in nested types. Pull request #26777
- Added log sink support to the V2 C API. Pull request #26872
This week: V2 C API gains log sinks, custom PRAGMAs, config options with callbacks and MACRO functions. Also fixes for yearweek filters, INT96 Parquet reads, TRY_CAST on empty BLOB, deep expression nesting and CTAS temp usage, plus v1.5 to v2.0 performance regression fixes.
This week in DuckDB: the V2 C API gained log sinks and support for custom PRAGMA functions, custom configuration options with change callbacks, vector try casts, and scalar and table MACRO functions for extensions. On the correctness side, yearweek filters now return the right rows near ISO year 0, INT96 Parquet data can be read as timestamp_ns and struct with saturation, TRY_CAST returns NULL for an empty BLOB to BIT, deeply nested expressions fail cleanly instead of overflowing the stack, and CTAS no longer uses excessive temporary storage in in-memory databases. Several performance regressions from v1.5 to v2.0 were also fixed, mainly around hot loops, table filtering and small optimizer behavior.
Week of September 28, 2026
What shipped
- LogicalType is now a thin 8-byte pointer to ExtraTypeInfo, reducing memory overhead while maintaining all type data including LogicalTypeId and PhysicalType. Pull request #26355
- Fixed segfault or NULL pointer dereference crash when planning ORDER BY LIMIT queries over filtered or empty inputs due to dangling root pointer in statistics propagation. Pull request #25942
- Fixed
list_reducereading captured column values from wrong rows when input lists have different lengths, such as with constant initial values. Pull request #25817 - Fixed crash when optimizing empty ENUM columns by preventing invalid ENUM constant casting to VARCHAR. Pull request #26405
- Added
nan_countto Parquet RETURN_STATS and fixedhas_nanreporting across multiple row groups. Pull request #26307 - Fixed BIGNUM cast dropping bits on large integers like 2^56 by correcting size calculation that relied on double-precision log2. Pull request #25944
- Fixed window filter pushdown correctness regression for decreasing partition expressions like PARTITION BY -x. Pull request #26395
- Added support for creating multi-file reader functions from v2 C API and C++ API, enabling handling of lists, globs, directories and multi-file options. Pull request #26254
- Fixed race condition in deleted transaction-local row counting by making it atomic for parallel DELETE operations. Pull request #26382
- Added COLLATE support to ALTER COLUMN syntax. Pull request #26345
Why it matters
This week addresses several correctness issues in query planning, statistics propagation, and data type handling that could cause crashes or incorrect results. Multiple fixes ensure type safety, proper memory management, and accurate filtering behavior across edge cases like empty tables and large integers.
Changelog entry
- LogicalType now uses intrusive shared pointer with ExtraTypeInfo holding type data Pull request #26355
- Fixed dangling root pointer in statistics propagation after operator replacement Pull request #25942
- Fixed
list_reducereading wrong row values with constant initial values Pull request #25817 - Fixed crash when optimizing empty ENUM columns Pull request #26405
- Added
nan_countto Parquet RETURN_STATS and fixedhas_nanacross row groups Pull request #26307 - Fixed BIGNUM cast dropping bits on large integers Pull request #25944
- Fixed window filter pushdown for decreasing partition expressions Pull request #26395
- Added multi-file reader function support to v2 C API and C++ API Pull request #26254
- Made deleted transaction-local row counting atomic for parallel DELETE Pull request #26382
- Added COLLATE support to ALTER COLUMN Pull request #26345
This week: fixed crashes in ORDER BY LIMIT on empty inputs, corrected list_reduce column reads, hardened ENUM optimization, and improved Parquet statistics. Better memory efficiency for LogicalType and broader C API support for multi-file functions.
DuckDB 2.0 continues maturing with critical correctness fixes this week. We resolved segmentation faults in query planning for empty result sets, fixed statistics propagation that could leave dangling pointers, and corrected BIGNUM casting behavior for large integers. Parquet statistics now properly track NaN counts across row groups. We also optimized LogicalType to use 8-byte pointers and expanded C API capabilities for multi-file reader functions. These changes improve stability and expand integration possibilities.
Week of September 21, 2026
What shipped
- Fixed ordering comparison of fixed-size arrays where equal arrays incorrectly returned true for greater-than and less-than operators. Pull request #26208
- Fixed NO CYCLE sequences that were returning INT64_MIN after overflow by ensuring the counter only updates after validation checks pass. Pull request #26168
- Fixed Parquet VARIANT writer incorrectly encoding 64-byte strings as short strings, causing them to read back as empty. Pull request #26130
- Fixed CSV reader division by zero crash when
max_line_sizeparameter causes buffer size to overflow. Pull request #26131 - Fixed out-of-bounds read in CSV projection pushdown when rows contain escaped extra columns. Pull request #26100
- Added support for casting TIMESTAMPTZ directly to TIMESTAMPTZ_NS, which previously required going through VARCHAR. Pull request #25346
- Fixed FileSystem::JoinPath to preserve query string parameters in remote URLs when appending path segments. Pull request #26148
- Fixed FILL extrapolation for decreasing integer runs by correcting the slope calculation. Pull request #26057
- Added support for directly serializing shredded variant vectors in the new storage format instead of first unshredding them. Pull request #26169
- Improved multi-file scan performance by replacing yield-spinning with condition variable waits for async file opens. Pull request #26149
Why it matters
This week included multiple critical bug fixes affecting data correctness and performance: sequence overflow handling, Parquet variant serialization, CSV reader crashes, and array comparison semantics. These address edge cases in core functionality that users may encounter with large datasets or specific data types.
Changelog entry
- Fixed ordering comparison operators for equal fixed-size arrays Pull request #26208
- Fixed NO CYCLE sequences returning INT64_MIN after overflow Pull request #26168
- Fixed Parquet VARIANT writer encoding 64-byte strings as short strings Pull request #26130
- Fixed CSV reader division by zero when
max_line_sizecauses buffer overflow Pull request #26131 - Fixed out-of-bounds read in CSV projection with escaped extra columns Pull request #26100
- Added TIMESTAMPTZ to TIMESTAMPTZ_NS cast support Pull request #25346
- Fixed FileSystem::JoinPath to preserve query strings in remote URLs Pull request #26148
- Fixed FILL extrapolation for decreasing integer runs Pull request #26057
- Added support for shredded variant vector serialization Pull request #26169
- Improved multi-file scan async performance with condition variables Pull request #26149
- Restored grouped MARK semantics when binding explicit joins Pull request #26061
- Backported
enable_optimistic_writesetting to v1.5 Pull request #26102
This week: fixes for fixed-size array comparisons, sequence overflow, Parquet VARIANT strings, CSV crashes, and TIMESTAMPTZ casting. Plus improvements to remote file paths and async scan performance.
DuckDB shipped a collection of important fixes this week addressing data correctness and performance. Highlights include correcting fixed-size array comparison operators, fixing sequence overflow handling to prevent silent failures, resolving Parquet VARIANT string serialization for 64-byte strings, and eliminating a CSV reader division-by-zero crash. Additionally, TIMESTAMPTZ direct casting, remote URL query parameter preservation, and async file scan performance improvements help round out the release.