dtenedor commented on code in PR #37840: URL: https://github.com/apache/spark/pull/37840#discussion_r974575955
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala: ########## @@ -730,6 +729,13 @@ trait CheckAnalysis extends PredicateHelper with LookupCatalog { } } + private def canonicalizeForError(expr: LogicalPlan): String = + if (SQLConf.get.getConf(SQLConf.CANONICALIZE_PLANS_IN_ERRORS)) { Review Comment: @gengliangwang thanks for the suggestion! This is done, it is simpler now. -- 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