Open
Description
Description
I'd like to know whether it's possible to set the table properties required to have UniForm in delta tables created through delta-rs.
https://docs.delta.io/latest/delta-uniform.html
I've given it a few attempts with the python interface for delta-rs and also through Polars, but I've been unable to create a table with the properties :
"delta.enableIcebergCompatV2": "true",
"delta.universalFormat.enabledFormats": "iceberg"
Attempting to create a table with above properties results in the following error below :
DeltaError: Kernel: Generic delta kernel error: Error parsing property 'delta.enableIcebergCompatV2':'true'
Code for reproducing :
from deltalake import DeltaTable, Field, Schema
_default_table_properties: dict[str, str] = {
"delta.enableIcebergCompatV2": "true",
"delta.universalFormat.enabledFormats": "iceberg"
}
DeltaTable.create(
table_uri='.',
schema=Schema([Field("x", "integer")]),
mode="overwrite",
name='test',
configuration=_default_table_properties,
)
I also tested creating the table and setting the propeties later but same error was thrown :
dt.alter.set_table_properties(_default_table_properties)
Environment
Python 3.12
DeltaLake 0.24.0
Activity