0

do you know any way how I can overwrite certain partitions in a folder, and leave other partitions unchanged?

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245

1 Answers1

0

If your dataframe contains only data from the partitions you would like to overwrite then you need to set spark.sql.sources.partitionOverwriteMode to dynamic (Take a look here as well).

Guy
  • 124
  • 6