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

ComputerVerificationStrategy is too restrictive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-incubating
    • Fix Version/s: 3.1.0-incubating
    • Component/s: process
    • Labels:
      None

      Description

      gremlin> g.V().local(bothE().values("weight").fold())
      ==>[0.4, 0.5, 1.0]
      ==>[0.5]
      ==>[0.4, 0.4, 0.2]
      ==>[1.0, 0.4, 1.0]
      ==>[1.0]
      ==>[0.2]
      gremlin> g.V().local(bothE().values("weight").fold()).order().by(sum(local), decr)
      A final CollectingBarrierStep can not process an element beyond its id: OrderGlobalStep([decr([SumLocalStep])])
      Display stack trace? [yN]
      

      I'm not trying to process an element beyond its id. Another example is when the result is a list of Maps:

      gremlin> g.V().as("v").map(bothE().values("weight").fold()).sum(local).as("s").select("v", "s")
      ==>[v:v[1], s:1.9]
      ==>[v:v[2], s:0.5]
      ==>[v:v[3], s:1.0]
      ==>[v:v[5], s:1.0]
      ==>[v:v[6], s:0.2]
      ==>[v:v[4], s:2.4]
      gremlin> g.V().as("v").map(bothE().values("weight").fold()).sum(local).as("s").select("v", "s").order().by(select("s"), decr)
      A final CollectingBarrierStep can not process an element beyond its id: OrderGlobalStep([decr([SelectOneStep(s)])])
      Display stack trace? [yN] 
      

        Attachments

          Activity

            People

            • Assignee:
              okram Marko A. Rodriguez
              Reporter:
              dkuppitz Daniel Kuppitz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: