opencypher/cypher-for-gremlin

SyntaxException when translating Cypher query

ljhhuxiaoba opened this issue · 0 comments

Java code:
String gremlin = (new TranslationFacade()).toGremlinGroovy("OPTIONAL MATCH ()-[]->(), (n0 :L3{k19:exists(( :L3)-[]->()-[ :T0]-())})-[ :T5{k72:-788082888}]-(n1) REMOVE n1.k2 CREATE p0=({id:305})<-[ :T0{id:306}]-(n2 :L4{id:307}) REMOVE n0.k2 RETURN (n0.k22) AS a0, 1 AS a1 ORDER BY a0
");

error message:
SyntaxException: Variable UNNAMED46 not defined (line 1, column 46 (offset: 45))