[Variant] Fix crash for variant_extract on non-object shredded column by Tishj · Pull Request #23303 · duckdb/duckdb · GitHub
Skip to content

[Variant] Fix crash for variant_extract on non-object shredded column - #23303

Merged
Mytherin merged 1 commit into
duckdb:mainfrom
Tishj:variant_shredded_extract_non_object
Jun 16, 2026
Merged

Mytherin merged 1 commit into
duckdb:mainfrom
Tishj:variant_shredded_extract_non_object

Conversation

@Tishj

@Tishj Tishj commented Jun 16, 2026

Copy link
Copy Markdown
Member

This PR fixes https://github.com/duckdblabs/duckdb-internal/issues/9335

Misc

Also fixes dormant issue where root NULL values weren't counting towards VariantColumnStatsData::total_count in variant shredding analysis.
This change affects all VariantVisitor implementations that define VisitMetadata, as it's now also called for root NULL values.

…here root NULL values weren't counting towards VariantColumnStatsData::total_count in variant shredding analysis. This change affects all VariantVisitor implementations that define VisitMetadata
@Mytherin
Mytherin added this pull request to the merge queue Jun 16, 2026
@Mytherin

Copy link
Copy Markdown
Member

Merged via the queue into duckdb:main with commit 514c5a0 Jun 16, 2026
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants