brkyvz opened a new pull request #25876: [SPARK-29197][SQL] Remove 
saveModeForDSV2 from DataFrameWriter
URL: https://github.com/apache/spark/pull/25876
 
 
   ### What changes were proposed in this pull request?
   
   It is very confusing that the default save mode is different between the 
internal implementation of a Data source. The reason that we had to have 
saveModeForDSV2 was that there was no easy way to check the existence of a 
Table in DataSource v2. Now, we have catalogs for that. Therefore we should be 
able to remove the different save modes.
   
   ### Why are the changes needed?
   
   Because it is confusing that the internal implementation of a data source 
(which is generally non-obvious to users) decides which default save mode is 
used within Spark.
   
   ### Does this PR introduce any user-facing change?
   
   It changes the default save mode for V2 Tables in the DataFrameWriter APIs
   
   ### How was this patch tested?
   
   Existing tests

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