From dc3774da01bddf79053babb91fb47032fad79338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?--=E4=BA=91=E5=B8=86--?= Date: Tue, 14 Nov 2023 02:57:29 +0000 Subject: [PATCH] =?UTF-8?q?1.=E8=BF=9E=E6=8E=A5hive=20=E6=89=AB=E6=8F=8F?= =?UTF-8?q?=E8=A1=A8=E6=B8=85=E5=8D=95=E6=8A=A5=E9=94=99=202.=E8=A1=A8?= =?UTF-8?q?=E6=B8=85=E5=8D=95=E5=AD=98=E5=82=A8=E8=A1=A8=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: --云帆-- --- .../cn/com/chiner/java/dialect/impl/DBDialectHiveMySQL.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/cn/com/chiner/java/dialect/impl/DBDialectHiveMySQL.java b/src/main/java/cn/com/chiner/java/dialect/impl/DBDialectHiveMySQL.java index 24151e8..9d720b2 100644 --- a/src/main/java/cn/com/chiner/java/dialect/impl/DBDialectHiveMySQL.java +++ b/src/main/java/cn/com/chiner/java/dialect/impl/DBDialectHiveMySQL.java @@ -13,10 +13,9 @@ public class DBDialectHiveMySQL extends DBDialectMetaByQuery { " ,tbl_params.PARAM_VALUE AS tbl_comment -- 表注释\n" + " ,db.`NAME` AS db_name -- 数据库名\n" + "FROM\n" + - " SDS SDS\n" + + " SDS sds\n" + " LEFT JOIN TBLS tbl ON sds.SD_ID = tbl.SD_ID\n" + " LEFT JOIN TABLE_PARAMS tbl_params ON tbl.TBL_ID = tbl_params.TBL_ID AND tbl_params.PARAM_KEY = 'comment'\n" + - " LEFT JOIN PARTITION_KEYS partkey ON tbl.TBL_ID = partkey.TBL_ID\n" + " LEFT JOIN DBS db ON tbl.DB_ID = db.DB_ID -- 过滤数据库\n" + "WHERE\n" + " tbl.TBL_NAME IS NOT NULL\n" + -- Gitee