Repository navigation
Give a small GeoParquet file at least ten row groups - #61
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
m-mohr
approved these changes
Oct 1, 2026
Both paths round to whole 2,048-row groups, and the DuckDB output is rebuilt in smaller groups even when it cannot be Hilbert-sorted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
m-mohr
added a commit
that referenced
this pull request
Oct 6, 2026
Co-authored-by: Matthias Mohr <m.mohr@moregeo.it>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A file under 250,000 rows is now written in at least ten row groups instead of groups of 25,000 rows; larger files keep 25,000. With five or six groups, each one covers most of a small file even when its rows are Hilbert-sorted, so a reader can skip none of them, and Portolan's
PTL-DAT-006rejects the file.GeoParquet.row_group_size_for(num_rows)is the one rule; both write paths use it. It rounds down to whole 2,048-row groups, as DuckDB writes whole vectors, so a file under 20,480 rows gets fewer than ten groups.🤖 Generated with Claude Code