Skip to content

Copying a table with an all-NULL UUID column fails #140

@hombit

Description

@hombit

Reproducible example, tested with version 0.4.0 (from github tag), postgres 15

# CREATE TEMP TABLE test (
    x UUID
);
# INSERT INTO test (x) VALUES
    (NULL),
    (NULL);
# COPY test TO '/tmp/uuid.parquet' (format 'parquet');
ERROR:  Expected record batch: InvalidArgumentError("column types must match schema types, expected FixedSizeBinary(16) but found FixedSizeBinary(0) at column index 0")

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