Skip to content

Setting Universal Format (UniForm) table properties not possible #3299

Open
@HectorPascual

Description

@HectorPascual

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions