Apache Iceberg version
0.10.0 (latest release)
Please describe the bug 🐞
I am assuming the catalog is on V2 since the null type doesn't get converted to unknown. I am not sure how to check, but it's in s3tables
# reprex-ish
import pyarrow as pa
# catalog = load_catalog(name="muck")
example_schema = pa.schema(
[
pa.field("int64", pa.int64()),
pa.field("n1", pa.null()),
]
)
tbl = catalog.create_table("muck_ns.abc", schema=example_schema)
error log incorrectly blames "type string" :
BadRequestError: InvalidInputException: Invalid input:Cannot parse type string to primitive: unknown (through reference chain: org.apache.iceberg.rest.requests.CreateTableRequest["schema"])
Willingness to contribute