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

Gremlin .max step returns -2147483648 for empty result sets

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.6
    • Fix Version/s: 3.4.0
    • Component/s: process
    • Labels:

      Description

      To reproduce:

      gremlin> g.V().values('test').max()
      ==>-2147483648

      This should probably return an exeption, "cannot take max of nothing"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dkuppitz Daniel Kuppitz
                Reporter:
                estevezsebastian@gmail.com Sebastian Estevez
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: