[CQF] Support simplifications related to exists:true/false

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Exists is currently converted to PathDefault which is NOT translated into an interval. The goals of the task are to

      • allow PathDefault to be translated into an interval
      • allow simplifications between the intervals of a non-traversed path (e.g. Get "a" Id) and a traversed path (e.g. Get "a" Traverse Id) in the case the non-traversed path encodes an existence of an array, or just an existence in general.

       

      Queries to test with:

      {a:{$ne:null, $exists:true}}

      {a:{$gt:1, $exists:true}}

      {a:{$eq:null, $exists:true{}}

       

            Assignee:
            [DO NOT USE] Backlog - Query Optimization
            Reporter:
            Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: