You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Valentyn Kahamlyk (Jira)" <ji...@apache.org> on 2023/07/26 23:12:00 UTC

[jira] [Created] (TINKERPOP-2974) `valueMap` step returns properties in random order

Valentyn Kahamlyk created TINKERPOP-2974:
--------------------------------------------

             Summary: `valueMap` step returns properties in random order
                 Key: TINKERPOP-2974
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2974
             Project: TinkerPop
          Issue Type: Bug
          Components: process
    Affects Versions: 3.6.4, 3.5.6
            Reporter: Valentyn Kahamlyk


`valueMap` step return properties in random order. In most cases it's not important, but
but for example this does not allow using `by` modulators correctly.
In this example I expect to get `name` unfolded, but modulator applied to `location`
{code:java}
gremlin> g = TinkerFactory.createTheCrew().traversal()
==>graphtraversalsource[tinkergraph[vertices:6 edges:14], standard]
gremlin> g.V(1).valueMap("location","name").by().by(__.unfold())
==>[name:[marko],location:san diego]{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)