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

Added Support for WKB in trino #8393

Closed
lerenah opened this issue Jun 25, 2021 · 1 comment
Closed

Added Support for WKB in trino #8393

lerenah opened this issue Jun 25, 2021 · 1 comment

Comments

@lerenah
Copy link

lerenah commented Jun 25, 2021

Hello and thanks for all the hard work!

I recently configured our postgres connector to return varchar for geography objects in trino. Initially, it would not resolve the column as trino doesn't map geography(Point, 4236) types into it's own Geospatial types. Once I added the unsupported-type-handling to the connector, it returned the binary representation in string format. Naturally, I thought to use the ST_GeomFromBinary function to read it in, but kept getting "invalid shape object". It looks like the function doesn't directly support the type without a bit of massaging.

@hashhar
Copy link
Member

hashhar commented Sep 18, 2021

Duplicates #5580.

Closing in favour of #5580.

@hashhar hashhar closed this as completed Sep 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants