itholic commented on code in PR #48655: URL: https://github.com/apache/spark/pull/48655#discussion_r1820087080
########## sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryExecutionErrors.scala: ########## @@ -868,8 +868,8 @@ private[sql] object QueryExecutionErrors extends QueryErrorsBase with ExecutionE def unsupportedPartitionTransformError( transform: Transform): SparkUnsupportedOperationException = { new SparkUnsupportedOperationException( - errorClass = "_LEGACY_ERROR_TEMP_2067", - messageParameters = Map("transform" -> transform.toString())) + errorClass = "UNSUPPORTED_PARTITION_TRANSFORM", + messageParameters = Map("transform" -> toSQLId(transform.toString))) Review Comment: I tried it but unfortunately it says `Transform` is not an `Expression`: <img width="655" alt="Screenshot 2024-10-29 at 1 54 45 PM" src="https://github.com/user-attachments/assets/8f58f8a9-9b2a-4321-a5ec-162cef807c35"> Is there happen to any way converting `Transform` to `Expression`? -- 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