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): use simple GEOMETRY type for all geospatial data (#10324) #10333

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anjakefala
Copy link
Contributor

Ensure compatibility with DuckDB's implementation of geospatial types.

I would love to add tests. Which is the appropriate test file?

  • added tests

Description of changes

In #10324 the temporary table generated the incorrect SQL definition of GEOMETRY(POINT) instead of the simple GEOMETRY. This ensures that the simple GEOMETRY will be used for all geospatial types.

Issues closed

@github-actions github-actions bot added the sql Backends that generate SQL label Oct 18, 2024
…roject#10324)

Ensure compatibility with DuckDB's implementation of geospatial types.
Closes ibis-project#10324
@gforsyth
Copy link
Member

Thanks @anjakefala !

Since this change is specific to the DuckDB backend, tests should go in ibis/backends/DuckDB/tests/

For this particular fix, either test_datatypes.py or test_geospatial.py work -- whichever feels like a better fit to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sql Backends that generate SQL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Unable to cache table after creating geometry column
2 participants