Skip to content

Extend _type_map with Array #19

@bonedi

Description

@bonedi

I have some tables containing Array columns in a database. When DremioDialect.get_columns() is called ctype = _type_map[col[1]] throws an KEYERROR 'ARRAY'.
This can be solved with extending _type_map in base.py and query.py with:

_type_map = {
     ...
    'ARRAY': types.ARRAY,
    'array': types.ARRAY,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions