gengliangwang opened a new pull request #23889: 
[SPARK-26673][FollowUp][SQL]File Source V2: check existence of output path 
before delete it
URL: https://github.com/apache/spark/pull/23889
 
 
   ## What changes were proposed in this pull request?
   This is a followup PR to resolve comment: 
https://github.com/apache/spark/pull/23601#pullrequestreview-207101115
   
   When Spark writes DataFrame with "overwrite" mode, it deletes the output 
path before actual writes. To safely handle the case that the output path 
doesn't exist,  it is suggested to follow the V1 code by checking the existence.
   
   
   ## How was this patch tested?
   
   Apply https://github.com/apache/spark/pull/23836 and run unit tests

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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