forked from github/dataease
fix(数据源): 修复Impala报错
This commit is contained in:
parent
0deb2c50c6
commit
7dc95e622c
@ -404,6 +404,9 @@ public class CalciteProvider {
|
|||||||
" database = '%s' \n" +
|
" database = '%s' \n" +
|
||||||
" AND table = '%s' ", configuration.getDataBase(), datasourceRequest.getTable());
|
" AND table = '%s' ", configuration.getDataBase(), datasourceRequest.getTable());
|
||||||
break;
|
break;
|
||||||
|
case impala:
|
||||||
|
sql = String.format("DESCRIBE `%s`", datasourceRequest.getTable());
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
2
pom.xml
2
pom.xml
@ -25,7 +25,7 @@
|
|||||||
<mybatis-plus.version>3.5.6</mybatis-plus.version>
|
<mybatis-plus.version>3.5.6</mybatis-plus.version>
|
||||||
<h2.version>2.2.220</h2.version>
|
<h2.version>2.2.220</h2.version>
|
||||||
<knife4j.version>4.4.0</knife4j.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>
|
<commons-dbcp2.version>2.6.0</commons-dbcp2.version>
|
||||||
<antlr.version>3.5.2</antlr.version>
|
<antlr.version>3.5.2</antlr.version>
|
||||||
<java-jwt.version>3.12.1</java-jwt.version>
|
<java-jwt.version>3.12.1</java-jwt.version>
|
||||||
|
Loading…
Reference in New Issue
Block a user