AngersZhuuuu opened a new pull request #35254:
URL: https://github.com/apache/spark/pull/35254


   ### What changes were proposed in this pull request?
   Currently, when we use static partition insert to write a partition with 
data source API, the `_SUCCESS` flag file is write under table location, it 
should be write under partition's location.
   
   
   ### Why are the changes needed?
   leave `_SUCCESS` file under table path may cause auth problem. Also cause 
some jobs using `_SUCCESS` to check write partition finished  hard to work.
   
   
   ### Does this PR introduce _any_ user-facing change?
   Static partition insert write `_SUCCESS` under partition location
   
   ### How was this patch tested?
   Added UT
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to