Details
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.