From 2328b1728739bf145cab2b2e1124665e6296dce5 Mon Sep 17 00:00:00 2001 From: FishermanZzhang <1099905725@qq.com> Date: Thu, 11 Mar 2021 09:24:44 +0800 Subject: [PATCH] fix bug, ck jdbc config --- parser/src/main/resources/jdbc_source.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parser/src/main/resources/jdbc_source.yml b/parser/src/main/resources/jdbc_source.yml index cd753aca..2bb7a40c 100644 --- a/parser/src/main/resources/jdbc_source.yml +++ b/parser/src/main/resources/jdbc_source.yml @@ -36,6 +36,6 @@ kylin: clickhouse: driver : ru.yandex.clickhouse.ClickHouseDriver dialect : ClickHouseSqlDialect - showDatabaseSql : show databases - columnValueSql : select name as COLUMN_NAME,type DATA_TYPE,0 ORDINAL_POSITION from system.columns where table='%s' and database='%s' - showTableSql : SHOW TABLES LIKE '%s' \ No newline at end of file + showDatabaseSql : SELECT DATABASE() + columnValueSql : select name as COLUMN_NAME, type as DATA_TYPE, position as ORDINAL_POSITION from system.columns where table='%s' and database='%s' + showTableSql : SHOW TABLES LIKE '%s'