Skip to content

Fix numeric stats serde#22684

Open
dentiny wants to merge 1 commit into
duckdb:v1.5-variegatafrom
dentiny:hjiang/fix-numeric-stats-serde
Open

Fix numeric stats serde#22684
dentiny wants to merge 1 commit into
duckdb:v1.5-variegatafrom
dentiny:hjiang/fix-numeric-stats-serde

Conversation

@dentiny
Copy link
Copy Markdown
Member

@dentiny dentiny commented May 15, 2026

Min/max stats are swapped on serialization, it doesn't show up as a bug since deserialization also swaps as well.
I hope it won't compatibility issue for quack.

@Mytherin
Copy link
Copy Markdown
Collaborator

Mytherin commented May 15, 2026

Thanks - but I think this fix will break all of our storage format backwards compatibility if we fix it in this manner. I think a better fix would be to just change the name of the property (i.e. swap "min" with "max" and vice versa`). In practice that name has no effect on serialization to binary, which is effectively always how we serialize numeric stats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants