forked from github/dataease
fix: 获取 StarRocks 字段类型
This commit is contained in:
parent
8b9b0e4564
commit
f3218fc87d
@ -111,7 +111,7 @@ public class JdbcProvider extends DefaultJdbcProvider {
|
||||
} catch (SQLException e) {
|
||||
DataEaseException.throwException(e);
|
||||
} catch (Exception e) {
|
||||
if (datasourceRequest.getDatasource().getType().equalsIgnoreCase("ds_doris")) {
|
||||
if (datasourceRequest.getDatasource().getType().equalsIgnoreCase("ds_doris") || datasourceRequest.getDatasource().getType().equalsIgnoreCase("StarRocks")) {
|
||||
datasourceRequest.setQuery("select * from " + datasourceRequest.getTable());
|
||||
return fetchResultField(datasourceRequest);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user