pyspark.sql.DataFrameWriterV2.overwritePartitions¶
- 
DataFrameWriterV2.overwritePartitions() → None[source]¶
- Overwrite all partition for which the data frame contains at least one row with the contents of the data frame in the output table. - This operation is equivalent to Hive’s INSERT OVERWRITE … PARTITION, which replaces partitions dynamically depending on the contents of the data frame. - New in version 3.1.