wecharyu commented on code in PR #49027:
URL: https://github.com/apache/spark/pull/49027#discussion_r1902009856


##########
sql/hive/src/test/scala/org/apache/spark/sql/hive/InsertSuite.scala:
##########
@@ -927,4 +927,23 @@ class InsertSuite extends QueryTest with TestHiveSingleton 
with BeforeAndAfter
       testDefaultColumn
     }
   }
+
+  test("SPARK-50469: V1Writes should respect the output ordering") {
+    withTable("t1") {
+      withTempView("t2") {
+        val df = scala.util.Random.shuffle((1 to 1000).map(i => (i, 
"part_val"))).toDF("key", "val")
+        df.createOrReplaceTempView("t2")
+
+        sql("CREATE TABLE t1 (key Int, part String) PARTITIONED BY (part)")

Review Comment:
   `InsertIntoHiveTable` is also `V1Write`, will update this test.



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

To unsubscribe, e-mail: [email protected]

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