MaxGekk commented on code in PR #38664: URL: https://github.com/apache/spark/pull/38664#discussion_r1032047234
########## sql/core/src/test/resources/sql-tests/results/ansi/string-functions.sql.out: ########## @@ -848,7 +849,8 @@ org.apache.spark.sql.AnalysisException "messageParameters" : { "actualNum" : "1", "expectedNum" : "2", - "functionName" : "`decode`" + "functionName" : "`decode`", + "sqlExpr" : "\"encode(abc, utf-8)\"" Review Comment: The error message confuses slightly: ``` "Cannot resolve "encode(abc, utf-8)" due to data type mismatch:" ``` Actually, the issue is not in `encode` but in `decode`. `sqlExpr` should point out to the parent expression. @itholic Could you change this? -- 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