tdas commented on a change in pull request #28523:
URL: https://github.com/apache/spark/pull/28523#discussion_r424819360



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala
##########
@@ -629,14 +630,9 @@ abstract class StreamExecution(
         
writeBuilder.asInstanceOf[SupportsTruncate].truncate().buildForStreaming()
 
       case Update =>
-        // Although no v2 sinks really support Update mode now, but during 
tests we do want them
-        // to pretend to support Update mode, and treat Update mode same as 
Append mode.
-        if (Utils.isTesting) {

Review comment:
       Spark 2.4.x does not have this condition, and therefore all of Spark 
2.4.x since Nov 2018 has been using v2 code paths. That is *lot* of production 
hours in v2 sinks and not in v1 sinks, and that dwarf the testing we can do 
with unit test coverage. 




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



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

Reply via email to