-
Notifications
You must be signed in to change notification settings - Fork 3.7k
branch-3.0: [Enhancement] Support some spatial functions (#48695) #50061
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
branch-3.0: [Enhancement] Support some spatial functions (#48695) #50061
Conversation
Support for ST_Intersects, ST_Disjoint, ST_Touches sql functions.
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
2b73024 to
12370e2
Compare
…he#49665) ### What problem does this PR solve? 1. Enhances the `GeometryFromText` function to support parsing `MULTIPOLYGON` WKT 2. Support `ST_CONTAINS ` , `ST_INTERSECTS`, `ST_TOUCHES` for it and other shapes. 3. Fixed the behavior of `ST_Touches` between two polygons, which has been updated to return `true` when they touch at a single point that is not on a horizontal or vertical edge. For example, the following polygons now return true for ST_Touches: - `POLYGON((0 0, 10 0, 10 10, 0 10, 0 0))` - `POLYGON((5 10, 0 15, 10 15))` Obviously, they touches at the point `(5 10)`
12370e2 to
f07aa27
Compare
|
run buildall |
TPC-H: Total hot run time: 40043 ms |
TPC-DS: Total hot run time: 196815 ms |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
ClickBench: Total hot run time: 32.09 s |
HappenLee
left a comment
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.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
dataroaring
left a comment
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.
LGTM
pick: #48695 and #49665