rdblue commented on a change in pull request #24233: [SPARK-26356][SQL] remove 
SaveMode from data source v2
URL: https://github.com/apache/spark/pull/24233#discussion_r285270646
 
 

 ##########
 File path: 
sql/core/src/test/scala/org/apache/spark/sql/sources/v2/DataSourceV2Suite.scala
 ##########
 @@ -219,14 +219,14 @@ class DataSourceV2Suite extends QueryTest with 
SharedSQLContext {
         assert(spark.read.format(cls.getName).option("path", 
path).load().collect().isEmpty)
 
         spark.range(10).select('id as 'i, -'id as 'j).write.format(cls.getName)
-          .option("path", path).save()
+          .option("path", path).mode("append").save()
 
 Review comment:
   I don't think this change is needed because the default mode for v2 is 
append.

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