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
For more context, this query inserts a list of maps as properties on a vertex (rather than explicitly listing them).
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.