fix(数据源): 修复Impala报错

This commit is contained in:
junjun 2024-05-10 10:11:46 +08:00
parent 0deb2c50c6
commit 7dc95e622c
2 changed files with 4 additions and 1 deletions

View File

@ -404,6 +404,9 @@ public class CalciteProvider {
" database = '%s' \n" +
" AND table = '%s' ", configuration.getDataBase(), datasourceRequest.getTable());
break;
case impala:
sql = String.format("DESCRIBE `%s`", datasourceRequest.getTable());
break;
default:
break;
}

View File

@ -25,7 +25,7 @@
<mybatis-plus.version>3.5.6</mybatis-plus.version>
<h2.version>2.2.220</h2.version>
<knife4j.version>4.4.0</knife4j.version>
<calcite-core.version>1.35.7</calcite-core.version>
<calcite-core.version>1.35.8</calcite-core.version>
<commons-dbcp2.version>2.6.0</commons-dbcp2.version>
<antlr.version>3.5.2</antlr.version>
<java-jwt.version>3.12.1</java-jwt.version>