From cd59dbadbf9c03c0e34b610b3df79ccd0a2729c8 Mon Sep 17 00:00:00 2001 From: ChengJie1053 <18033291053@163.com> Date: Tue, 20 Jun 2023 11:39:55 +0800 Subject: [PATCH] Modify the flink error code (#4666) --- .../flink/errorcode/FlinkErrorCodeSummary.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linkis-engineconn-plugins/flink/src/main/java/org/apache/linkis/engineconnplugin/flink/errorcode/FlinkErrorCodeSummary.java b/linkis-engineconn-plugins/flink/src/main/java/org/apache/linkis/engineconnplugin/flink/errorcode/FlinkErrorCodeSummary.java index 7748563c42..3bd500dc3b 100644 --- a/linkis-engineconn-plugins/flink/src/main/java/org/apache/linkis/engineconnplugin/flink/errorcode/FlinkErrorCodeSummary.java +++ b/linkis-engineconn-plugins/flink/src/main/java/org/apache/linkis/engineconnplugin/flink/errorcode/FlinkErrorCodeSummary.java @@ -74,8 +74,8 @@ public enum FlinkErrorCodeSummary implements LinkisErrorCode { INVALID_SQL_STATEMENT(16022, "Invalid SQL statement.(无效的 SQL 语句.)"), NO_TABLE_FOUND(16022, "No table with this name could be found.(找不到具有此名称的表.)"), INVALID_SQL_QUERY(16022, "Invalid SQL query.(无效的 SQL 查询.)"), - FAILED_SWITCH_DATABASE(16022, "Failed to switch to catalog (无法切换到目录):{0}"), - FAILED_SWITCH_CATALOG(16022, "Failed to switch to database (无法切换到数据库):{0}"), + FAILED_SWITCH_DATABASE(16022, "Failed to switch to database (无法切换到数据库):{0}"), + FAILED_SWITCH_CATALOG(16022, "Failed to switch to catalog (无法切换到目录):{0}"), SQL_EXECUTION_ID(16022, ""), NO_JOB_SUBMITTED(16023, "No job has been submitted. This is a bug.(未提交任何作业,这是一个错误.)"), NOT_SAVEPOINT_MODE(16023, "not supported savepoint operator mode(不支持保存点操作员模式)"),