Skip to content

Commit 208da69

Browse files
authored
fix(docs): Fix return type for ST_CoordDim (#26355)
## Description <!---Describe your changes in detail--> Change the docs return type to ST_CoordDim ## Motivation and Context <!---Why is this change required? What problem does it solve?--> <!---If it fixes an open issue, please link to the issue here.--> Match the docs with the java code for ST_CoorDim return type to be tinyint: https://github.com/prestodb/presto/blob/1a4b46238ae4e59294842eb0e51cca4ee9589842/presto-main-base/src/main/java/com/facebook/presto/geospatial/GeoFunctions.java#L340 related to: #26344 ## Impact <!---Describe any public API or user-facing feature change or any performance impact--> ## Test Plan <!---Please fill in how you tested your change--> ## Contributor checklist - [ ] Please make sure your submission complies with our [contributing guide](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md), in particular [code style](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md#code-style) and [commit standards](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md#commit-standards). - [ ] PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced. - [ ] Documented new properties (with its default value), SQL syntax, functions, or other functionality. - [ ] If release notes are required, they follow the [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines). - [ ] Adequate tests were added if applicable. - [ ] CI passed. - [ ] If adding new dependencies, verified they have an [OpenSSF Scorecard](https://securityscorecards.dev/#the-checks) score of 5.0 or higher (or obtained explicit TSC approval for lower scores). ## Release Notes Please follow [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines) and fill in the release notes below. ``` == NO RELEASE NOTE == ```
1 parent 608f139 commit 208da69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

presto-docs/src/main/sphinx/functions/geospatial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Accessors
268268

269269
Returns the minimum convex geometry that encloses all input geometries.
270270

271-
.. function:: ST_CoordDim(Geometry) -> bigint
271+
.. function:: ST_CoordDim(Geometry) -> tinyint
272272

273273
Return the coordinate dimension of the geometry.
274274

0 commit comments

Comments
 (0)