[CQF] Simplify explain for evaluation of simple constants

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2023-02-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-72233 simplified the explain output for Evaluation nodes to concisely list projections at the top level. We can simplify that output further in cases where the only node in the Evaluation path is a simple constant or variable.

      For example, what is currently printed as

      Evaluation [{val_prev}]
      |     Variable [valIn]
      

      could be simplified to

      Evaluation[{val_prev = valIn}]
      

      and what is current printed asĀ 

      Evaluation [{val_prev}]
      |     Const [1]
      

      could be simplified to

      Evaluation[{val_prev = 1}]
      

            Assignee:
            Svilen Mihaylov (Inactive)
            Reporter:
            Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: