delta-io / delta-rs

A native Rust library for Delta Lake, with bindings into Python
https://delta-io.github.io/delta-rs/
Apache License 2.0
1.98k stars 365 forks source link

feat(python, rust): `add column` operation #2562

Open ion-elgreco opened 4 weeks ago

ion-elgreco commented 4 weeks ago

Description

The schema evolution code is quite well abstracted from the writer, so it seemed straight forward to expose this through an add column api. This would make it easier for users to add new columns or fields in structs.

At some point we can add type widening to the schema evolution as a separate path, which also than could be used to create an alter column operation.