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

OrderStep not able to order by non-integer numbers

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.5
    • Fix Version/s: 3.2.7, 3.3.1
    • Component/s: process
    • Labels:
      None

      Description

      order() and order(local) sometimes fail to sort by non-integer numbers. In some cases it works, but the following pattern (non-integer map values?) seems broken:

      gremlin> g.V().hasLabel("person").group().by("name").by(outE().values("weight").sum()).order(local).by(values)
      java.lang.Double cannot be cast to java.lang.Integer
      Type ':help' or ':h' for help.
      Display stack trace? [yN]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dkuppitz Daniel Kuppitz
                Reporter:
                dkuppitz Daniel Kuppitz
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: