FiboaDuckDBBaseConverter: convert Parquet sources with SQL - #272
Closed
ivorbosloper wants to merge 0 commit into
Closed
ivorbosloper wants to merge 0 commit into
ivorbosloper wants to merge 0 commit into
Conversation
ivorbosloper
force-pushed
the
split/duckdb
branch
from
September 12, 2026 10:24
0f7104e to
c700717
Compare
This was referenced Sep 12, 2026
ivorbosloper
force-pushed
the
split/per-file
branch
from
September 12, 2026 12:51
752161c to
afecbf6
Compare
ivorbosloper
force-pushed
the
split/duckdb
branch
from
September 12, 2026 12:56
c700717 to
afecbf6
Compare
This was referenced Sep 12, 2026
Collaborator
Author
|
vecorel/cli#29 is merged and released: vecorel-cli 0.2.18 ships |
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.
This module is meant to be short-lived — read the last paragraph before reviewing the code.
A source that is already Parquet does not need to become a GeoDataFrame. This converter maps columns, filters rows and migrates values in SQL, writes with DuckDB, then repairs what DuckDB does not write itself: the GeoParquet and collection metadata, the nullability the schema asks for, the bbox covering column, and the canonical Hilbert order. Japan's Fude polygons are 33 GB of Parquet across four editions, which is what it was written for.
The same converter is moving into vecorel-cli in vecorel/cli#29, which already carries everything this branch learned: the Hilbert fallback for a CRS with no
area_of_use, thelarge_binarywidening fortake()over 2 GB of WKB, the metadata-preserving batch write, the bbox covering declaration, closing readers before replacing a file on Windows, and the schema prewarm.So: if #29 is merged and released before this is reviewed, close this PR — #273 then needs one import line changed.
🤖 Generated with Claude Code
https://claude.ai/code/session_01DVx9uQV2QPM8ecPAY3ZjXG