advancedxy commented on issue #25739: [WIP][SPARK-28945][CORE][SQL] Support 
concurrent dynamic partition writes to different partitions in the same table
URL: https://github.com/apache/spark/pull/25739#issuecomment-529986798
 
 
   > my understanding is that currently if you don't have dynamic partition 
overwrite enabled it will always delete all partitions before writing. 
   
   IIRC,  dynamic partition writing without dynamicPartitionOverwrite enabled, 
Spark will delete matching partitions(partitions prefixed by the static 
partition), not all partitions. 
   
   For example, when insert overwrite `Partition(day=20190910, hour=01, 
action)`, Spark will first delete all the partitions under 
`$some/path/to/table/location/day=20190910/hour=01`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to