Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] values() and valueMap() inconsistent result displayed in notebook widget #718

Open
xianjial opened this issue Nov 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xianjial
Copy link

Community Note

  • Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Describe the bug
I'm testing backslashes in Gremlin querystring and seeing different results displayed in notebook widget when running queries as below

### TinkerPop Console
gremlin> g.addV('test').property(id, '2').property(single, 'configValue', '[{"p1":1,"p2":"a: \\"b\\""}]').next()
==>v[2]
gremlin> g.V().values()
==>[{"p1":1,"p2":"a: \"b\""}]
gremlin> g.V().valueMap()
==>[configValue:[[{"p1":1,"p2":"a: \"b\""}]]]

### Neptune Notebook (see screenshots to understand it better)
g.V().values()
--> [{"p1":1,"p2":"a: \"b\""}]
g.V().valueMap()
--> {'configValue': ['[{"p1":1,"p2":"a: \\"b\\""}]']}

image

%graph_notebook_config
{
  ...
  "gremlin": {
    "traversal_source": "g",
    "username": "",
    "password": "",
    "message_serializer": "graphsonv3"
  },
  ...
}
Same result with `GraphBinaryV1` serializer.

Expected behavior
value() and valueMap() should return same result as TinkerPop console.

@xianjial xianjial added the bug Something isn't working label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant