Implement constant propagation rewrite

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should be able to optimize e.g. the below query to an EOF plan since the $match is known to be always false:
        [
          { $set:{ "a.b.c": 1 }},
          { $match: { "a.b.c": 2 }}
        ]

            Assignee:
            Unassigned
            Reporter:
            Henri Nikku
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: