schema merging doesn't work when overwriting with a predicate #2567
Labels
binding/python
Issues for the Python package
binding/rust
Issues for the Rust crate
bug
Something isn't working
Environment
Delta-rs version:
0.17.4
Binding:
Python
Bug
What happened:
I attempted to update a table from a Polars DataFrame with mode="overwrite" and a predicate to use for replacement. The DataFrame had a subset of the columns that are in the table. While the rows matching the predicate are successfully replaced with the new data, the table's schema becomes the schema of the DataFrame, rather than being merged with the existing schema.
What you expected to happen:
The original table schema is preserved.
How to reproduce it:
The text was updated successfully, but these errors were encountered: