Skip to content

Cannot copy string column: table expected "Utf8" but file had "LargeUtf8" error #67

@oliora

Description

@oliora

When I'm trying to copy data from local Parquet file to the database I get the following error:

type mismatch for column "bla" between table and parquet file. table expected "Utf8" but file had "LargeUtf8"

Copy command:

copy table_bla from '/path/table_bla.parquet';

Column schema:

bla              | character varying           |           |          |

Parquet file schema:

/path/table_bla.parquet | bla     | BYTE_ARRAY |             | OPTIONAL        |              | UTF8             |       |           |          | STRING

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions