cloud-fan commented on code in PR #49103: URL: https://github.com/apache/spark/pull/49103#discussion_r1908187829
########## common/utils/src/main/resources/error/error-conditions.json: ########## @@ -1945,7 +1945,25 @@ }, "INDETERMINATE_COLLATION" : { "message" : [ - "Function called requires knowledge of the collation it should apply, but indeterminate collation was found. Use COLLATE function to set the collation explicitly." + "Could not determine which collation to use for string operation. Use COLLATE clause to set the collation explicitly." + ], + "sqlState" : "42P22" + }, + "INDETERMINATE_COLLATION_IN_EXPRESSION" : { + "message" : [ + "Data type of <expr> has indeterminate collation. Use COLLATE clause to set the collation explicitly." + ], + "sqlState" : "42P22" + }, + "INDETERMINATE_COLLATION_IN_SCHEMA" : { + "message" : [ + "Schema contains indeterminate collation at: [<columnPaths>]. Use COLLATE clause to set the collation explicitly." + ], + "sqlState" : "42P22" + }, + "INDETERMINATE_COLLATION_NOT_SERIALIZABLE" : { Review Comment: do we still need it? -- 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