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

CountByIsRangeStrategy fails for a particular query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.3
    • 3.3.0, 3.2.5
    • process
    • None

    Description

      In a fresh TinkerGraph:

      gremlin> g.V().count()
      ==>0
      gremlin> g.V().count().is(0)
      gremlin>
      

      Because of .is(0) the traversal is converted to something like g.not(V()). No issues with other values (!= 0).

      gremlin> g.addV()
      ==>v[0]
      gremlin> g.V().count()
      ==>1
      gremlin> g.V().count().is(0)
      gremlin> g.V().count().is(1)
      ==>1
      gremlin> g.V().count().is(2)
      gremlin>
      

      Attachments

        Activity

          People

            dkuppitz Daniel Kuppitz
            dkuppitz Daniel Kuppitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: