Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(geo-duckdb): support casting binary to geometry #9062

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

ncclementi
Copy link
Contributor

@ncclementi ncclementi commented Apr 26, 2024

Add support to cast wkb to geometry type in duckdb backend

Closes #8805

This PR: needs a data file, CI will fail until ibis-project/testing-data#8 gets merged

Comment on lines 147 to 152
"geo_wkb": ibis.schema(
{
"name": "string",
"geom": "binary",
}
),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

entries here are also expected to have a csv file in testing-data -- might be better off sticking this in the duckdb conftest.py for now.

ibis/backends/duckdb/tests/test_geospatial.py Outdated Show resolved Hide resolved
ibis/backends/duckdb/tests/conftest.py Show resolved Hide resolved
Add support to cast wkb to geometry type in duckdb backend

chore: move geo_wkb table to duckdb conftest

chore: fix test
@cpcloud cpcloud added this to the 9.0 milestone Apr 29, 2024
@cpcloud cpcloud added feature Features or general enhancements geospatial Geospatial related functionality duckdb The DuckDB backend labels Apr 29, 2024
@cpcloud cpcloud merged commit 1926eb4 into ibis-project:main Apr 29, 2024
88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duckdb The DuckDB backend feature Features or general enhancements geospatial Geospatial related functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(api): API for converting binary columns to geometry columns
3 participants