srielau commented on code in PR #46608: URL: https://github.com/apache/spark/pull/46608#discussion_r1603902920
########## common/utils/src/main/resources/error/error-conditions.json: ########## @@ -2675,9 +2675,9 @@ "ANALYZE TABLE(S) ... COMPUTE STATISTICS ... <ctx> must be either NOSCAN or empty." ] }, - "CREATE_FUNC_WITH_IF_NOT_EXISTS_AND_REPLACE" : { + "CREATE_ROUTINE_WITH_IF_NOT_EXISTS_AND_REPLACE" : { "message" : [ - "CREATE FUNCTION with both IF NOT EXISTS and REPLACE is not allowed." + "CREATE PROCEDURE or CREATE FUNCTION with both IF NOT EXISTS and REPLACE is not allowed." Review Comment: That works too -- 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