Skip to content

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

@hashhar

Description

@hashhar

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions