Enable $trunc SBE implementation by default

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2023-06-26
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      At the moment, $trunc is implemented for SBE but is guarded behind featureFlagSbeFull. Assuming the performance results look good, then we should enable $trunc in SBE by default in the next release. This should be as simple as removing the line of code referenced above that marks the expression with SbeCompatibility::flagGuarded during parsing.

        1. ExpressionTrunc-classic.png
          ExpressionTrunc-classic.png
          68 kB
        2. ExpressionTrunc-sbe.png
          ExpressionTrunc-sbe.png
          75 kB

            Assignee:
            Amr Elhelw (Inactive)
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: