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

Add ability to return MAP type columns with ARRAY, MAP or ROW keys #442

Open
1 task
hashhar opened this issue Jan 24, 2024 · 0 comments
Open
1 task

Add ability to return MAP type columns with ARRAY, MAP or ROW keys #442

hashhar opened this issue Jan 24, 2024 · 0 comments

Comments

@hashhar
Copy link
Member

hashhar commented Jan 24, 2024

Describe the feature

Today the Python client fails with an error when returning MAP columns with ARRAY, MAP or ROW keys.

See the tests added in #441 for the behavior.

Describe alternatives you've considered

Using legacy_primitive_types=True is able to return the data but in a non-standard format and requires user to reverse-engineer how Trino serialized the column.

Note that the JDBC driver doesn't work with such columns either at the moment.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
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

1 participant