jp_amis
jp_amis
ATApache TinkerPop
Created by jp_amis on 4/13/2023 in #questions
MergeE using the gremlin javascript client on AWS Neptune don't work
Doing a mergeE when using the javascript client (bytecode option) don't work coming back a Invalid OpProcessor requested [null] with code UnsupportedOperationException and 499 as status. The basic mergeE was:
javascriptconst
mergeEMap = new Map();
mergeEMap.set(t.id, "teste-edge");
mergeEMap.set(t.label, "edge-label");
mergeEMap.set(direction.from_, "test-vertex");
mergeEMap.set(direction.to, "test-vertex2");
await g.mergeE(mergeEMap).iterate();
javascriptconst
mergeEMap = new Map();
mergeEMap.set(t.id, "teste-edge");
mergeEMap.set(t.label, "edge-label");
mergeEMap.set(direction.from_, "test-vertex");
mergeEMap.set(direction.to, "test-vertex2");
await g.mergeE(mergeEMap).iterate();
where t and direction comes from gremlin.process with package version 3.6.2. Doing the same in a jupyter notebook just works proving that vertexes exists for example
g.mergeE([(T.id): 'teste-edge', (T.label): 'edge-label', (Direction.from): 'test-vertex', (Direction.to): 'test-vertex2'])
g.mergeE([(T.id): 'teste-edge', (T.label): 'edge-label', (Direction.from): 'test-vertex', (Direction.to): 'test-vertex2'])
mergeV is working as expected 🙏 Anyone have the same problem or had the same issue that could help me on that matter?
16 replies