0

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

OneCricketeer
  • 151,199
  • 17
  • 111
  • 216
Denis
  • 5
  • 2

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
  • 94
  • 6