mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
fix(数据源): mongo 对接失败
This commit is contained in:
parent
fc99fca8ec
commit
f4e1dc8397
@ -194,7 +194,6 @@ public class CalciteProvider extends Provider {
|
||||
List<TableField> fieldList = new ArrayList<>();
|
||||
ResultSetMetaData metaData = rs.getMetaData();
|
||||
int columnCount = metaData.getColumnCount();
|
||||
System.out.println(columnCount);
|
||||
for (int j = 0; j < columnCount; j++) {
|
||||
String columnName = metaData.getColumnName(j + 1);
|
||||
String label = StringUtils.isNotEmpty(metaData.getColumnLabel(j + 1)) ? metaData.getColumnLabel(j + 1) : columnName;
|
||||
|
Loading…
Reference in New Issue
Block a user