dongjoon-hyun commented on code in PR #36847:
URL: https://github.com/apache/spark/pull/36847#discussion_r895266012


##########
sql/core/src/test/scala/org/apache/spark/sql/SQLQuerySuite.scala:
##########
@@ -4456,6 +4456,20 @@ class SQLQuerySuite extends QueryTest with 
SharedSparkSession with AdaptiveSpark
         """.stripMargin),
       Seq(Row(2), Row(1)))
   }
+
+  test("SPARK-39448: Add ReplaceCTERefWithRepartition into nonExcludableRules 
list") {
+    withSQLConf(
+      SQLConf.OPTIMIZER_EXCLUDED_RULES.key -> 
ReplaceCTERefWithRepartition.ruleName) {

Review Comment:
   I guess we can add `cte-xxx` like 
https://github.com/apache/spark/blob/master/sql/core/src/test/resources/sql-tests/inputs/cte.sql
 
   



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to