This is an automated email from the ASF dual-hosted git repository. ruifengz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new b0e535217bf8 [SPARK-48301][SQL][FOLLOWUP] Update the error message b0e535217bf8 is described below commit b0e535217bf891f2320f2419d213e1c700e15b41 Author: Ruifeng Zheng <ruife...@apache.org> AuthorDate: Fri May 17 09:56:06 2024 +0800 [SPARK-48301][SQL][FOLLOWUP] Update the error message ### What changes were proposed in this pull request? Update the error message ### Why are the changes needed? we don't support `CREATE PROCEDURE` in spark, to address https://github.com/apache/spark/pull/46608#discussion_r1604205064 ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? ci ### Was this patch authored or co-authored using generative AI tooling? no Closes #46628 from zhengruifeng/nit_error. Authored-by: Ruifeng Zheng <ruife...@apache.org> Signed-off-by: Ruifeng Zheng <ruife...@apache.org> --- common/utils/src/main/resources/error/error-conditions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/utils/src/main/resources/error/error-conditions.json b/common/utils/src/main/resources/error/error-conditions.json index 5d750ade7867..69889435b02e 100644 --- a/common/utils/src/main/resources/error/error-conditions.json +++ b/common/utils/src/main/resources/error/error-conditions.json @@ -2677,7 +2677,7 @@ }, "CREATE_ROUTINE_WITH_IF_NOT_EXISTS_AND_REPLACE" : { "message" : [ - "CREATE PROCEDURE or CREATE FUNCTION with both IF NOT EXISTS and REPLACE is not allowed." + "Cannot create a routine with both IF NOT EXISTS and REPLACE specified." ] }, "CREATE_TEMP_FUNC_WITH_DATABASE" : { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org