forked from github/dataease
fix: 支持 es8
This commit is contained in:
parent
77a5ba4baf
commit
822cdb2c34
@ -239,6 +239,11 @@ public class EsProvider extends DatasourceProvider {
|
||||
tableDesc.setName(row[0]);
|
||||
tables.add(tableDesc);
|
||||
}
|
||||
if (row.length == 4 && row[2].contains("TABLE") && row[3].equalsIgnoreCase("INDEX")) {
|
||||
TableDesc tableDesc = new TableDesc();
|
||||
tableDesc.setName(row[1]);
|
||||
tables.add(tableDesc);
|
||||
}
|
||||
}
|
||||
return tables;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user