cloud-fan commented on a change in pull request #27941: [SPARK-31178][SQL] 
Prevent V2 exec nodes from executing multiple times
URL: https://github.com/apache/spark/pull/27941#discussion_r394124477
 
 

 ##########
 File path: 
sql/core/src/test/scala/org/apache/spark/sql/connector/InsertIntoTests.scala
 ##########
 @@ -463,5 +463,16 @@ trait InsertIntoSQLOnlyTests
         }
       }
     }
+
+    test("do not double insert on INSERT INTO collect()") {
+      val t1 = s"${catalogAndNamespace}tbl"
+      withTableAndData(t1) { view =>
+        sql(s"CREATE TABLE $t1 (id bigint, data string) USING $v2Format")
+        val tmpView = "test_data"
 
 Review comment:
   this is not used.

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