ExportXMLWordPrintableJSON

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

      We can infer the type of $match with $type expressions from SERVER-134594.

      Implement an method (internal) to connect that narrowType logic to the dependency graph.

      This involves finding the previous $match with dependency on the field (in O(N)) and calling narrowType with type 'any' as the input.

      The pipeline:

      [\{$match: {x: {$not: {$type: 'array'}}}, ...] should tell us the type of 'x' at the end.

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

              Created:
              Updated: