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.
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 RESTCreateTableRequestcarries"source-id": 0.