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'