Add DuckDB power-user API with auto-resolving query()#422
Open
JoaoCarabetta wants to merge 7 commits into
Open
Add DuckDB power-user API with auto-resolving query()#422JoaoCarabetta wants to merge 7 commits into
JoaoCarabetta wants to merge 7 commits into
Conversation
Introduce cached parquet downloads, filtering, multi-format output (sf/arrow/duckdb relation), and shared read_geobr_v2/hybrid helpers to align Python with the R v2.0.0 data path. Co-authored-by: Cursor <cursoragent@cursor.com>
Expose query, session, to_geopandas, and snapshot auto-resolver for year-suffixed views, with spatial join support and bare-name year warnings. Co-authored-by: Cursor <cursoragent@cursor.com>
Upgrade deprecated GitHub Actions, use astral-sh/setup-uv cross-platform, and skip network-dependent list_geobr test while testing filters via read_geobr_v2. Co-authored-by: Cursor <cursoragent@cursor.com>
Load snapshots via read_geobr_hybrid/v2 instead of legacy read_* wrappers, skip re-download when suffixed views exist, and handle WKB blobs in to_geopandas. Co-authored-by: Cursor <cursoragent@cursor.com>
AppVeyor is not required for Python (GitHub Actions Python-CMD-check covers all platforms). Path filters skip builds when only python-package or .github change. Co-authored-by: Cursor <cursoragent@cursor.com>
Document uv add, the v0.3.0 GeoParquet pipeline, query()/to_geopandas() examples, and related support functions. Co-authored-by: Cursor <cursoragent@cursor.com>
4 tasks
Retry read_geobr_hybrid with non-simplified parquet when simplified data is missing (fixes schools auto-resolve), add unit and live DuckDB tests, migrate dev deps to dependency-groups, pin urllib3<2 for macOS CI, and add a network test job. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
query(),session(),to_geopandas(), and full_duckdb_backendwith spatial + httpfsgeo_yearsnapshot views; warn on bare names (FROM schools) with year-pinning guidanceTest plan
test_duckdb_geo,test_duckdb_join,test_duckdb_session,test_duckdb_to_geopandastest_duckdb_auto_resolve*(suffixed, bare-name, error paths)Depends on #418
Made with Cursor