forked from github/dataease
fix: impala 数据源
This commit is contained in:
parent
0d1de07443
commit
528014ed71
@ -406,7 +406,7 @@ public class JdbcProvider extends DatasourceProvider {
|
||||
}
|
||||
|
||||
private Connection getConnectionFromPool(DatasourceRequest datasourceRequest) throws Exception {
|
||||
if(datasourceRequest.getDatasource().getType().equalsIgnoreCase(DatasourceTypes.mongo.name())){
|
||||
if(datasourceRequest.getDatasource().getType().equalsIgnoreCase(DatasourceTypes.mongo.name()) || datasourceRequest.getDatasource().getType().equalsIgnoreCase(DatasourceTypes.impala.name())){
|
||||
return getConnection(datasourceRequest);
|
||||
}
|
||||
DruidDataSource dataSource = jdbcConnection.get(datasourceRequest.getDatasource().getId());
|
||||
|
Loading…
Reference in New Issue
Block a user