maryannxue commented on a change in pull request #29593:
URL: https://github.com/apache/spark/pull/29593#discussion_r481756127
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/adaptive/AdaptiveQueryExecSuite.scala
##########
@@ -1205,4 +1205,13 @@ class AdaptiveQueryExecSuite
})
}
}
+
+ test("SPARK-32753: Do not override when copying tags") {
+ withSQLConf(
+ SQLConf.ADAPTIVE_EXECUTION_ENABLED.key -> "true"
+ ) {
+ spark.range(10).union(spark.range(10)).createOrReplaceTempView("v1")
+ runAdaptiveAndVerifyResult("SELECT id FROM v1 GROUP BY id DISTRIBUTE BY
id")
Review comment:
we can also check the plan here to make sure the repartition did get
removed.
----------------------------------------------------------------
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]