Skip to content

Fix segfault in hive partitioning with NULL values#20468

Merged
lnkuiper merged 6 commits intoduckdb:v1.4-andiumfrom
Schwarf:fix-hive-partition-null-v1.4
Jan 12, 2026
Merged

Fix segfault in hive partitioning with NULL values#20468
lnkuiper merged 6 commits intoduckdb:v1.4-andiumfrom
Schwarf:fix-hive-partition-null-v1.4

Conversation

@Schwarf
Copy link
Copy Markdown
Contributor

@Schwarf Schwarf commented Jan 9, 2026

This PR fixes a segfault in DuckDB core when running COPY … PARTITION_BY … OVERWRITE with NULL partition values. The issue was reported in duckdb-python but reproduced in the DuckDB CLI. Adds a minimal regression test. CI passes on fork.

Fixes duckdb/duckdb-python#127

@Mytherin
Copy link
Copy Markdown
Collaborator

Mytherin commented Jan 9, 2026

Thanks! LGTM

@lnkuiper lnkuiper merged commit 0701c38 into duckdb:v1.4-andium Jan 12, 2026
59 checks passed
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Jan 12, 2026
[C API] Fix error data creation (duckdb/duckdb#20451)
Nightly test encryption fixes (duckdb/duckdb#20461)
Fix segfault in hive partitioning with NULL values (duckdb/duckdb#20468)
[Chore] Add `ORDER BY` to `AS OF` test (duckdb/duckdb#20465)
Wrap ccache in own action (duckdb/duckdb#20466)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Jan 12, 2026
[C API] Fix error data creation (duckdb/duckdb#20451)
Nightly test encryption fixes (duckdb/duckdb#20461)
Fix segfault in hive partitioning with NULL values (duckdb/duckdb#20468)
[Chore] Add `ORDER BY` to `AS OF` test (duckdb/duckdb#20465)
Wrap ccache in own action (duckdb/duckdb#20466)

Co-authored-by: krlmlr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants