change existing table's enableChangeDataFeed configuration to be updated to True
#4220
-
Is your feature request related to a problem?One of my customers required a column with CRUD operations (e.g. which operations have been The closest solution I found was implemented by using Is it possible to update configuration of an existing table? Describe the solution you'd likeIt would be great if it was possible to update the configuration of existing tables e.g. Describe alternatives you've consideredThe alternatives I found to update the table's property was via SQL e.g. PriorityMedium - Would be helpful Additional contextIf the best solution is by using uri: str = ...
dtable = DeltaTable(uri)
import pyarrow as pa
schema = pa.schema(dtable.schema().to_arrow())
from deltalake import write_deltalake
write_deltalake(
uri,
schema.empty_table(),
mode="append",
configuration={
"delta.enableChangeDataFeed": "true"
}
)Contribution
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
This is already possible, see docs: https://delta-io.github.io/delta-rs/api/delta_table/delta_table_alterer/#deltalake.table.TableAlterer.set_table_properties |
Beta Was this translation helpful? Give feedback.
This is already possible, see docs: https://delta-io.github.io/delta-rs/api/delta_table/delta_table_alterer/#deltalake.table.TableAlterer.set_table_properties