Hi all, I'm using gremlin through cosmos and the python library and I'm getting this error when I try to add a lot of vertices to my graph at the same time. (A lot as in only 583 vertices). I'm guessing this refers to the actual traversal part, but considering my query is structurally just chained addV's:
g.addV("..").property(...).addV("..")....
I can't imagine it's that complex. I tried chunking them into smaller batches and submitting them individually but I still get the same error after the last batch.
The exception type is "GraphCompileException" and it's a 597 from cosmos. The graph interopstatuscode is QuerySyntaxError which seems strange.
I'm very new to gremlin, but I haven't found a better way to batch upload a lot of vertices at once. I see in cosmos the graph is represented as JSON, could I construct a graph in JSON then upload that to my DB?