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

fix(duckdb): allow table creation from expr with geospatial datatypes #7818

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

gforsyth
Copy link
Member

I thought, initially, that WKB_BLOB should be mapped on to something
like dt.GeoSpatial, but that leads to a situation where we try to call
AsWKB on an existing WKB column, and DuckDB does not like that.

Mapping it as binary works and the created columns are still correctly
detected as geometry:geospatial.

I thought, initially, that `WKB_BLOB` should be mapped on to something
like `dt.GeoSpatial`, but that leads to a situation where we try to call
`AsWKB` on an existing WKB column, and DuckDB does not like that.

Mapping it as `binary` works and the created columns are still correctly
detected as `geometry:geospatial`.
@cpcloud cpcloud added this to the 8.0 milestone Dec 20, 2023
@cpcloud cpcloud added bug Incorrect behavior inside of ibis geospatial Geospatial related functionality duckdb The DuckDB backend labels Dec 20, 2023
Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
@gforsyth gforsyth enabled auto-merge (squash) December 20, 2023 20:03
@cpcloud
Copy link
Member

cpcloud commented Dec 20, 2023

Oh right, we can click update now and let squash merging take care of the commits :)

@gforsyth gforsyth merged commit ecac322 into ibis-project:master Dec 20, 2023
80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior inside of ibis duckdb The DuckDB backend geospatial Geospatial related functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants