feature(hudi-query): 增加查询 Hudi 表结构

This commit is contained in:
2023-07-07 12:33:14 +08:00
parent b6d60af652
commit bd0a56217d
7 changed files with 198 additions and 2 deletions

View File

@@ -1556,6 +1556,35 @@ function tableMetaDialog() {
}
}
},
{
type: 'button',
label: 'Hudi 表结构',
icon: 'fa fa-table',
actionType: 'dialog',
dialog: {
title: 'Hudi 表结构',
actions: [],
body: {
type: 'service',
api: {
method: 'get',
url: '${base}/hudi/schema',
data: {
flink_job_id: '${flinkJobId|default:undefined}',
alias: '${tableMeta.alias|default:undefined}',
},
},
body: {
type: 'page',
body: {
type: 'json',
source: '${detail}',
levelExpand: 3,
}
}
}
}
},
]
},
]