-
Notifications
You must be signed in to change notification settings - Fork 609
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(datatypes): proper handling of srid in geospatial datatypes #9519
Merged
+82
−50
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3eac45f
fix: proper handling of srid in geo dtype
ncclementi 660583f
chore: include srid in _from_ibis_GeoSpatial
ncclementi 75a6f05
test(datatypes): fix geospatial tests and reenable existing ones
cpcloud e063c7d
fix(datatypes): handle srid
cpcloud 84a0feb
test(hypothesis): fill out geotype strategy
cpcloud ab9aaf4
chore: disallow None in geospatial type; always default to geometry i…
cpcloud c53fbfb
chore: fill out test for geo types
cpcloud b9bd575
fix(datatypes): handle srid and shape type in geography too
cpcloud e8b6d8e
refactor(geospatial-datatypes): geotype is always present so remove N…
cpcloud ee8f03f
chore(bigquery): keep ibis to sqlglot path high fidelity when convert…
cpcloud 09120d0
test(hypothesis): fill out geotype strategy more
cpcloud 9a4cd63
chore: remove no longer necessary specific geometry type test
cpcloud b464ae0
Update ibis/backends/sql/tests/test_datatypes.py
cpcloud e1eb8e1
chore: default first arg to None
cpcloud c4d6fb7
chore: remove whitespace
cpcloud ca0df27
chore: avoid rendering srid for bigquery
cpcloud 864b70d
chore: wrap in datatypeparam
cpcloud 8c65eba
test(datatypes): consolidate overly specified geospatial types
cpcloud 6fd9ae9
chore: fix repr
cpcloud 7f0c47e
test(postgres): add srid create table test
cpcloud File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small question, we don't need these ones any more because we will always git this path
method := getattr(cls, f"_from_sqlglot_{typecode.name}", None)
into_ibis()
now?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's the reason, but it was that way before this PR too.