IBM Support

Inconsistent Handling Of String vertex/edge ids Collections In DSE Graph Steps

Troubleshooting


Problem

Inconsistent handling of string vertex/edge ids collections in DSE Graph steps

The string formatting for vertices with user-defined vertex ids has changed. Invoking toString on a user-defined vertex id containing a text property, or on an edge id that is incident upon a vertex with a user-defined vertex id now returns a value that double-quotes that text property value and escapes the value's internal double-quotes. This change avoids cases where the old format could lead to irresolvable parsing ambiguity. For example, examine the input value and returned value for the following graph statements:

gremlin> graph.addVertex(T.label, "v", "p", "a\"b") ==>v[{~label=v, p="a""b"}]
gremlin> g.V().id().toList() ==>{~label=v, p="a""b"}
gremlin> g.V().id().next().toString()==>{~label=v, p="a""b"}
gremlin> g.V().toList() ==>v[{~label=v, p="a""b"}]
 
Last Reviewed: 2023-12-19

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCR56","label":"IBM DataStax Enterprise"},"ARM Category":[{"code":"","label":""}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Historical Number

ka0Ui0000000I6bIAE

Document Information

Modified date:
30 January 2026

UID

ibm17258707