From d860cf2d4dfbc186bea63b681b630eadb3b2103c Mon Sep 17 00:00:00 2001 From: FlechazoW Date: Sun, 26 Jun 2022 06:53:55 +0800 Subject: [PATCH] [hotfix-#1003][hive] Remove useless code of hive. --- .../java/com/dtstack/chunjun/connector/hive/util/HiveUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chunjun-connectors/chunjun-connector-hive/src/main/java/com/dtstack/chunjun/connector/hive/util/HiveUtil.java b/chunjun-connectors/chunjun-connector-hive/src/main/java/com/dtstack/chunjun/connector/hive/util/HiveUtil.java index f8f563a81c..e97dd6bd3e 100644 --- a/chunjun-connectors/chunjun-connector-hive/src/main/java/com/dtstack/chunjun/connector/hive/util/HiveUtil.java +++ b/chunjun-connectors/chunjun-connector-hive/src/main/java/com/dtstack/chunjun/connector/hive/util/HiveUtil.java @@ -175,7 +175,8 @@ private static void fillTableInfo(Connection connection, TableInfo tableInfo) { metadataParser.fillTableInfo(tableInfo, result); } catch (Exception e) { if (e.getMessage().contains(NO_SUCH_TABLE_EXCEPTION)) { - throw new ChunJunRuntimeException(String.format("表%s不存在", tableInfo.getTablePath())); + throw new ChunJunRuntimeException( + String.format("表%s不存在", tableInfo.getTablePath())); } else { throw e; }