Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Geometry Presto type #12274

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wraymo
Copy link

@wraymo wraymo commented Feb 6, 2025

Summary

This PR is a split of #12053 to introduce Geometry Presto type in Velox. It focuses on the type declaration without serde code. As suggested, it uses Varbinary as the underlying type. Cast operators can be added later if needed, as Presto Java handles the conversion by functions ST_GeometryFromText(ST_GeomFromBinary), and ST_AsText (ST_AsBinary).

@facebook-github-bot facebook-github-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 Feb 6, 2025
Copy link

netlify bot commented Feb 6, 2025

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit ef8810d
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/67a4271035f2c900083550ad

@jagill
Copy link

jagill commented Feb 6, 2025

This generally LGTM. I don't know which parts of Geospatial we should restrict with VELOX_ENABLE_GEO; the definition doesn't depend on the library of course.

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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants