Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2974

`valueMap` step returns properties in random order

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.5.6, 3.6.4
    • None
    • process
    • None

    Description

      `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`

      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]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              valentyn Valentyn Kahamlyk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: