forked from hugegraph/hugegraph-sync
fix(client): mismatch store table name when put data
`prepareBatchEntry()` throws NPE, refer https://hugegraph.feishu.cn/wiki/O07Bw2jnPiJGZbkE9utcw65Xntc thanks @VGalaxies to fix this problem Co-authored-by: V_Galaxy <1904821183@qq.com>
This commit is contained in:
parent
7b56c40650
commit
28bb45d60c
|
|
@ -63,12 +63,12 @@ class GrpcStoreNodeSessionImpl implements HgStoreNodeSession {
|
|||
private static final HgStoreClientConfig hgStoreClientConfig = HgStoreClientConfig.of();
|
||||
private static final ConcurrentHashMap<String, Integer> tables = new ConcurrentHashMap() {{
|
||||
put("unknown", 0);
|
||||
put("vertex", 1);
|
||||
put("out_edge", 2);
|
||||
put("in_edge", 3);
|
||||
put("index", 4);
|
||||
put("task", 5);
|
||||
put("olap", 6);
|
||||
put("g+v", 1);
|
||||
put("g+oe", 2);
|
||||
put("g+ie", 3);
|
||||
put("g+index", 4);
|
||||
put("g+task", 5);
|
||||
put("g+olap", 6);
|
||||
}};
|
||||
private final HgStoreNode storeNode;
|
||||
private final String graphName;
|
||||
|
|
|
|||
Loading…
Reference in New Issue