Skip to content

branch-2.1: [Enhancement](GEO) Support Multipolygon and some spatial functions - #50073

Merged
yiguolei merged 3 commits into
apache:branch-2.1from
linrrzqqq:pick_34396_48695_49665_branch_2_1
Apr 17, 2025
Merged

branch-2.1: [Enhancement](GEO) Support Multipolygon and some spatial functions#50073
yiguolei merged 3 commits into
apache:branch-2.1from
linrrzqqq:pick_34396_48695_49665_branch_2_1

Conversation

@linrrzqqq

@linrrzqqqlinrrzqqq commented Apr 15, 2025

Copy link
Copy Markdown
Collaborator

pick: #37003, #48695 and #49665

@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@linrrzqqq

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

@linrrzqqq
linrrzqqqforce-pushed the pick_34396_48695_49665_branch_2_1 branch from d19d4f4 to 0729f05CompareApril 16, 2025 11:44
@linrrzqqq

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

Mryangeand others added 3 commits April 16, 2025 23:20
Support for ST_Intersects, ST_Disjoint, ST_Touches sql functions.
…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)`
@linrrzqqq
linrrzqqqforce-pushed the pick_34396_48695_49665_branch_2_1 branch from 0729f05 to 66b591bCompareApril 16, 2025 15:26
@linrrzqqq

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

BE UT Coverage Report

Increment line coverage 72.60% (779/1073) 🎉

Increment coverage report
Complete coverage report

CategoryCoverage
Function Coverage38.80% (10251/26421)
Line Coverage29.84% (85072/285070)
Region Coverage28.51% (43857/153843)
Branch Coverage25.23% (22416/88858)

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actionsgithub-actionsBot added approved Indicates a PR has been approved by one committer. reviewed labels Apr 17, 2025
@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@yiguolei
yiguolei merged commit ea29bc5 into apache:branch-2.1Apr 17, 2025
@linrrzqqq
linrrzqqq deleted the pick_34396_48695_49665_branch_2_1 branch April 17, 2025 03:26
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@linrrzqqq@hello-stephen@yiguolei@Mryange@koi2000