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

Something's broke in OLAP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.0, 3.2.5
    • None
    • process
    • None

    Description

      I don't know what it's related to, hence the open title on this ticket.

      Base Query (all good):

      gremlin> g.V().as("v").emit().repeat(both().as("v").dedup()).select("v")
      ==>v[1]
      ==>v[2]
      ==>v[3]
      ==>v[4]
      ==>v[5]
      ==>v[6]
      ==>[v[1],v[4]]
      ==>[v[4],v[5]]
      ==>[v[3],v[6]]
      ==>[v[2],v[1]]
      ==>[v[1],v[2]]
      ==>[v[1],v[3]]
      

      As of 3.3.9-SNAPSHOT the above looks like this now:

      gremlin> g.V().as("v").emit().repeat(both().as("v").dedup()).select("v")
      ==>v[1]
      ==>v[3]
      ==>v[2]
      ==>v[4]
      ==>v[1]
      ==>v[6]
      ==>v[5]
      ==>v[2]
      ==>v[3]
      ==>v[4]
      ==>v[5]
      ==>v[6]
      

      Issues:

      gremlin> g.V().as("v").emit().repeat(both().as("v").dedup()).select("v").count()
      ==>6
      ==>6
      
      gremlin> g.V().as("v").emit().repeat(both().as("v").dedup()).select("v").order().by(count(local))
      ==>v[1]
      ==>v[1]
      ==>v[2]
      ==>v[2]
      ==>v[3]
      ==>v[3]
      ==>v[4]
      ==>v[4]
      ==>v[5]
      ==>v[5]
      ==>v[6]
      ==>v[6]
      ==>[v[1],v[4]]
      ==>[v[4],v[5]]
      ==>[v[3],v[6]]
      ==>[v[2],v[1]]
      ==>[v[1],v[2]]
      ==>[v[1],v[3]]
      

      I'm going to create a dev branch and test cases tomorrow.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: