sunchao commented on a change in pull request #29066:
URL: https://github.com/apache/spark/pull/29066#discussion_r538925033



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/WriteToDataSourceV2Exec.scala
##########
@@ -322,6 +322,27 @@ trait BatchWriteHelper {
   }
 }
 
+trait V2ExistingTableWriteExec extends V2TableWriteExec {
+  def session: SparkSession
+  def relation: DataSourceV2Relation
+  def write: Option[BatchWrite] = None

Review comment:
       Cool, it would simplify the logic if we know the new code will always be 
applied. Perhaps worth creating a JIRA to track this.




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