Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-77457

Enable $trunc SBE implementation by default

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2023-06-26

    Description

      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.

      Attachments

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

        Activity

          People

            amr.elhelw@mongodb.com Amr Elhelw
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: