Gremlin query works fine in console but throws error when executing with the driver
The following query works in the gremlin console:
The following query (same) does not work when executed as a ScriptGraphStatement:
The error thrown (from debug log on server) for the query executed with the driver is:
Reproduced error with DSE 6.7.9 & 6.8.3 w/ Java Driver 4.8 and 4.9
The issue is that there is a clash in the gremlin interpreter when using 'list' as a parameter name.
I recommend that this ticket is closed and that we add some validation on the server side to prevent users from using reserved words there.
For more context, this query inserts a list of maps as properties on a vertex (rather than explicitly listing them).