Skip to content

fix: ST_CoordDim failing with wrong return type#15203

Closed
jkhaliqi wants to merge 1 commit intofacebookincubator:mainfrom
jkhaliqi:st_coordDim_fix
Closed

fix: ST_CoordDim failing with wrong return type#15203
jkhaliqi wants to merge 1 commit intofacebookincubator:mainfrom
jkhaliqi:st_coordDim_fix

Conversation

@jkhaliqi
Copy link
Copy Markdown
Collaborator

ST_CoordDim return type should be tinyint based on : prestodb/presto#26344

@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 17, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 8cf1f42
🔍 Latest deploy log https://app.netlify.com/projects/meta-velox/deploys/68f273e2344bd60008be0a39

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 17, 2025
@jkhaliqi jkhaliqi requested a review from jagill October 17, 2025 16:15
@jagill
Copy link
Copy Markdown
Contributor

jagill commented Oct 17, 2025

Interesting. Presto docs have it returning bigint (which is also different than integer): https://prestodb.io/docs/current/functions/geospatial.html#ST_CoordDim-Geometry-bigint

Let me check the code...

@jagill
Copy link
Copy Markdown
Contributor

jagill commented Oct 17, 2025

The documentation is wrong, the Presto code has return type tinyint. I'll approve this but let's make sure the CI passes.

@jkhaliqi
Copy link
Copy Markdown
Collaborator Author

@jagill sounds good: posted a PR for presto documentation update as well : prestodb/presto#26355

@jagill jagill added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Oct 17, 2025
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Oct 20, 2025

@pedroerp has imported this pull request. If you are a Meta employee, you can view this in D85060868.

@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Oct 20, 2025

@pedroerp merged this pull request in 956d630.

mhaseeb123 pushed a commit to mhaseeb123/velox that referenced this pull request Oct 27, 2025
)

Summary:
ST_CoordDim return type should be tinyint based on : prestodb/presto#26344

Pull Request resolved: facebookincubator#15203

Reviewed By: bikramSingh91

Differential Revision: D85060868

Pulled By: pedroerp

fbshipit-source-id: f8d61d597dc2dde359b133d0a4a605b93c27cf4f
@jkhaliqi jkhaliqi deleted the st_coordDim_fix branch December 16, 2025 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants