You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Yang Xia (Jira)" <ji...@apache.org> on 2024/05/21 18:27:00 UTC
[jira] [Updated] (TINKERPOP-2974) `valueMap` step returns properties in random order
[ https://issues.apache.org/jira/browse/TINKERPOP-2974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Xia updated TINKERPOP-2974:
--------------------------------
Priority: Minor (was: Major)
> `valueMap` step returns properties in random order
> --------------------------------------------------
>
> Key: TINKERPOP-2974
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2974
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.5.6, 3.6.4
> Reporter: Valentyn Kahamlyk
> Priority: Minor
>
> `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)