Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat(query): add geometry scalar functions#19847

Merged
b41sh merged 1 commit into
databendlabs:mainfrom
TCeason:geo_func
May 13, 2026
Merged

feat(query): add geometry scalar functions#19847
b41sh merged 1 commit into
databendlabs:mainfrom
TCeason:geo_func

Conversation

@TCeason
Copy link
Copy Markdown
Collaborator

@TCeason TCeason commented May 13, 2026

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

Add geometry scalar functions, including
ST_SIMPLIFY, ST_ISVALID, ST_COVERS, ST_COVEREDBY, ST_PERIMETER,
ST_AZIMUTH, ST_HAUSDORFFDISTANCE, ST_MAKEPOLYGONORIENTED and ST_BUFFER.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@github-actions github-actions Bot added the pr-feature this PR introduces a new feature to the codebase label May 13, 2026
  Add geometry scalar functions tracked in databendlabs#19821, including
  ST_SIMPLIFY, ST_ISVALID, ST_COVERS, ST_COVEREDBY, ST_PERIMETER,
  ST_AZIMUTH, ST_HAUSDORFFDISTANCE, ST_MAKEPOLYGONORIENTED,
  ST_COLLECT, and ST_BUFFER.
@TCeason TCeason requested a review from b41sh May 13, 2026 07:53
@TCeason
Copy link
Copy Markdown
Collaborator Author

TCeason commented May 13, 2026

Already validation covered comparable geometry cases for ST_SIMPLIFY, ST_ISVALID, ST_COVERS, ST_COVEREDBY, ST_PERIMETER, ST_AZIMUTH, and ST_BUFFER. Results are consistent with the reference behavior; observed differences are limited to WKT vertex ordering and floating-point display precision.

@b41sh b41sh added this pull request to the merge queue May 13, 2026
Merged via the queue into databendlabs:main with commit 18df19a May 13, 2026
266 of 271 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-feature this PR introduces a new feature to the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Databend Geospatial Functions — Tracking Issue

2 participants