Skip to content

Commit

Permalink
fix list table names (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxiaocs7 authored Jul 19, 2022
1 parent 93df7a1 commit 428de90
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ public List<String> listTables(String graphSpace) throws DatabaseNotExistExcepti
List<String> tables = new ArrayList<>();
try {
for (TagItem tag : metaClient.getTags(graphSpace)) {
tables.add("VERTEX" + NebulaConstant.POINT + tag.tag_name);
tables.add("VERTEX" + NebulaConstant.POINT + new String(tag.tag_name));
}
for (EdgeItem edge : metaClient.getEdges(graphSpace)) {
tables.add("EDGE" + NebulaConstant.POINT + edge.edge_name);
tables.add("EDGE" + NebulaConstant.POINT + new String(edge.edge_name));
}
} catch (TException | ExecuteFailedException e) {
LOG.error("get tags or edges error,", e);
Expand Down

0 comments on commit 428de90

Please sign in to comment.