feat(scheduler): 使用简化的table_meta加速查询

This commit is contained in:
v-zhangjc9
2024-06-03 18:35:33 +08:00
parent 6f2fce4359
commit 24e4672dc3
7 changed files with 181 additions and 131 deletions

View File

@@ -593,9 +593,13 @@ public class TableMetaService extends BaseService {
TbAppCollectTableInfo.ALIAS_A,
TbAppCollectTableInfo.SRC_SCHEMA_A,
TbAppCollectTableInfo.SRC_TABLE_A,
TbAppCollectTableInfo.PRIORITY_A,
TbAppCollectTableInfo.TGT_TABLE_TYPE_A,
TbAppCollectTableInfo.TGT_DB_A,
TbAppCollectTableInfo.TGT_TABLE_A,
TbAppCollectTableInfo.TGT_HDFS_PATH_A
TbAppCollectTableInfo.TGT_HDFS_PATH_A,
TbAppCollectTableInfo.TAGS_A,
TbAppCollectTableInfo.BUCKET_NUMBER_A
),
flinkJobId,
alias
@@ -606,9 +610,13 @@ public class TableMetaService extends BaseService {
rs.getString(3),
rs.getString(4),
rs.getString(5),
rs.getString(6),
rs.getInt(6),
rs.getString(7),
rs.getString(8)
rs.getString(8),
rs.getString(9),
rs.getString(10),
rs.getString(11),
rs.getInt(12)
)
)
);