zhangfengcdt opened a new pull request, #2865: URL: https://github.com/apache/sedona/pull/2865
## Did you read the Contributor Guide? - Yes, I have read the [Contributor Rules](https://sedona.apache.org/latest/community/rule/) and [Contributor Development Guide](https://sedona.apache.org/latest/community/develop/) ## Is this PR related to a ticket? - Yes, and the PR name follows the format `[GH-XXX] my subject`. Closes #<issue_number> ## What changes were proposed in this PR? Adds ST_Buffer for the Geography type via dual-dispatch on the existing Catalyst expression. Distance is always interpreted as meters along the spheroid (no useSpheroid flag — Geography is inherently spheroidal). Implementation reuses the proven UTM-projection path that powers Geometry's useSpheroid=true mode (Geography → JTS → FunctionsGeoTools.bufferSpheroid → JTS → Geography). Also extends FunctionResolver's tie-breaking: when multiple Geometry/Geography overloads tie on coercion score and the first argument is NullType, the first registered candidate wins — keeps ST_Buffer(null, 0) working after dual-dispatch was added. ## How was this patch tested? Geography common tests (incl. 5 new buffer cases) ## Did this PR include necessary documentation updates? - Yes, I have updated the documentation. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
