https://delta.io logo
r

Rahul Sampat

09/07/2023, 11:31 PM
Hi, I have a quick question regarding using delta-rs for writing to delta table. Using “overwrite” mode, is it possible to overwrite only a single partition on the delta table, instead of the full delta table?
w

Will Jones

09/07/2023, 11:40 PM
Yes, did you see the section at the bottom of the docs? https://delta-io.github.io/delta-rs/python/usage.html#overwriting-a-partition
s

Srinivas Maganti

09/08/2023, 5:59 AM
You can give .option('partitionOverwriteMode','dynamic')
r

Rahul Sampat

09/08/2023, 3:13 PM
Nice…thank you!