Add the set-set spatial-join UDF family#192
Open
estebanzimanyi wants to merge 1 commit into
Open
Conversation
2424e69 to
f9955aa
Compare
40bf218 to
45df2ad
Compare
f9955aa to
61c38bf
Compare
45df2ad to
2067f2a
Compare
4efabd8 to
9ec4d26
Compare
74ea89f to
e12394e
Compare
9ec4d26 to
e346219
Compare
e12394e to
8d61366
Compare
6593d41 to
7ee9c75
Compare
3e8da05 to
e5d0464
Compare
7ee9c75 to
8f9b225
Compare
Expose eDwithinPairs, tDwithinPairs and aDisjointPairs as set-returning functions and minDistance(arr, arr) as a scalar reduction over tgeompoint[] and tgeometry[], wrapping the MEOS edwithin_tgeoarr_tgeoarr / tdwithin_tgeoarr_tgeoarr / adisjoint_tgeoarr_tgeoarr / mindistance_tgeoarr_tgeoarr kernel. The Pairs functions return the qualifying (i, j) index pairs into the input arrays; tDwithinPairs also returns the per-pair tstzspanset of when the within-distance relationship holds; minDistance returns the exact set-set spatial minimum distance.
8f9b225 to
633e18f
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Expose eDwithinPairs, tDwithinPairs and aDisjointPairs as set-returning functions over tgeompoint[] and tgeometry[], wrapping the MEOS edwithin_tgeoarr_tgeoarr / tdwithin_tgeoarr_tgeoarr / adisjoint_tgeoarr_tgeoarr kernel. Each returns the qualifying (i, j) index pairs into the input arrays (1-based, matching DuckDB list indexing); tDwithinPairs also returns the per-pair tstzspanset of when the within-distance relationship holds. Stacks on the pinned-MEOS foundation that carries the kernel symbols.