Skip to content

valid partition source-ids are rejected#1664

Description

@twuebi

Apache Iceberg version

main (development)

Please describe the bug 馃悶

#1593 introduced a positivity check for source-ids in partition-specs. That breaks compatibility with spark which will send a 0 source-id for the first column.

CREATE TABLE t (ints INT, floats DOUBLE, strings STRING) PARTITIONED BY (ints) puts ints at field-id 0, and the REST CreateTableRequest carries "source-id": 0.

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