Skip to content

branch-4.1: [feature](function) Add ST_NumGeometries, ST_NumPoints, ST_Geometries functions #63049#63665

Open
github-actions[bot] wants to merge 1 commit into
branch-4.1from
auto-pick-63049-branch-4.1
Open

branch-4.1: [feature](function) Add ST_NumGeometries, ST_NumPoints, ST_Geometries functions #63049#63665
github-actions[bot] wants to merge 1 commit into
branch-4.1from
auto-pick-63049-branch-4.1

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Cherry-picked from #63049

… functions (#63049)

… functions

### What problem does this PR solve?

Issue Number: ref #48203 

Related PR: apache/doris-website#3623

Problem Summary:
Add three new spatial functions for geometry collection operations:
- `ST_NumGeometries`: Returns the number of sub-geometries in a geometry
object.
- `ST_NumPoints`: Returns the total number of vertices (points) in a
geometry object.
- `ST_Geometries`: Decomposes a geometry object into an array of its
sub-geometries.
@github-actions github-actions Bot requested a review from yiguolei as a code owner May 26, 2026 06:34
@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?

@hello-stephen
Copy link
Copy Markdown
Contributor

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage 75.68% (28/37) 🎉
Increment coverage report
Complete coverage report

@hello-stephen
Copy link
Copy Markdown
Contributor

FE Regression Coverage Report

Increment line coverage 91.89% (34/37) 🎉
Increment coverage report
Complete coverage report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants