Avoid generating unused runtime constants in ExpressionContext

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2024-03-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We currently always populate the cluster time and localNow time when constructing the ExpressionContext even if the variables are unreferenced in any expressions. This shows up in flamegraphs for fast running queries like ycsb.

            Assignee:
            Ben Shteinfeld
            Reporter:
            Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: