-
Notifications
You must be signed in to change notification settings - Fork 26
perf: Optimize st_has(z/m) using WKBBytesExecutor + Implement new WKBHeader #171
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
Draft
petern48
wants to merge
29
commits into
apache:main
Choose a base branch
from
petern48:st_haszm_wkb_bytes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+853
−28
Draft
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
ccae8ff
Implement st_haszm using WKBBytesExecutor instead (missing one last e…
petern48 07aa206
Add note about handling last edge case
petern48 cf031fb
Minor fix to the comments
petern48 526fc3b
Fix pre-commit
petern48 a491d91
Fix cargo clippy
petern48 cf90bcf
Save progress
petern48 22a6087
Pull out dimension calculation logic into new wkb_header.rs
petern48 5c616af
Add MULTIPOINT_WITH_INFERRED_Z_DIMENSION_WKB fixture
petern48 207ecb1
Fix dimension calculation to support all collection types and add fix…
petern48 43009f8
Fix clippy and clean up
petern48 1078bdd
Remove public byte_order method since it's not needed atm
petern48 4d4e7e0
Perform all wkb_header operations lazily and cache the values as Opti…
petern48 dfd6c1a
Add python integration test benches
petern48 0ef812d
Add tests for wkb_header
petern48 075d6e6
Apply suggestion from @paleolimbot
petern48 491b3c7
Remaining clean up
petern48 7efccc0
Update to method to dimensions plural
petern48 06501e5
Rename method to try_new
petern48 1b397fd
Update fixture to be multipoint ((1 2 3)) instead of all zeros
petern48 9ce9f08
Implement refactor
petern48 617f9b8
Remove inferred dimension case
petern48 96311fa
Move logic to st_haszm
petern48 d1d4fc8
Add empty_geometry_first_coord_dimensions test
petern48 573f7c8
Add test for size
petern48 b5984dc
Add tests
petern48 8c1d2f0
Implement fix for first_xy POLYGON logic
petern48 dc49aac
clean up
petern48 89ebb4c
Rename from first_coord_dimensions to first_geom_dimensions and adjus…
petern48 bdc0fae
Update name of method in st_haszm and update some sedona_internal_err…
petern48 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,4 @@ pub mod point_count; | |
pub mod transform; | ||
pub mod types; | ||
pub mod wkb_factory; | ||
pub mod wkb_header; |
Oops, something went wrong.
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.
We probably should not depend on datafusion-common or sedona-common here (this is otherwise a pretty lightweight crate).