You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/06/13 01:40:50 UTC

[GitHub] [spark] dongjoon-hyun commented on pull request #36847: [SPARK-39448][SQL] Add `ReplaceCTERefWithRepartition` into `nonExcludableRules` list

dongjoon-hyun commented on PR #36847:
URL: https://github.com/apache/spark/pull/36847#issuecomment-1153369445

   I checked Apache Spark 3.3.0 RC6 and added `3.3.0` to the Affected Version of the JIRA, @wangyum .
   ```
   scala> spark.version
   val res0: String = 3.3.0
   
   scala> sql("set spark.sql.optimizer.excludedRules=org.apache.spark.sql.catalyst.optimizer.ReplaceCTERefWithRepartition")
   val res1: org.apache.spark.sql.DataFrame = [key: string, value: string]
   
   scala> sql("SELECT (SELECT avg(id) FROM range(10)),(SELECT sum(id) FROM range(10)),(SELECT count(distinct id) FROM range(10))").show
   warning: 1 deprecation (since 2.13.3); for details, enable `:setting -deprecation` or `:replay -deprecation`
   org.apache.spark.SparkException: The Spark SQL phase planning failed with an internal error. Please, fill a bug report in, and provide the full stack trace.
   ```


-- 
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-unsubscribe@spark.apache.org

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


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