224159 {
224160 ScalarFunction result(IntegralCompressFunctionName(result_type), {input_type, input_type}, result_type,
224161 GetIntegralCompressFunctionInputSwitch(input_type, result_type), CMUtils::Bind);
224162 result.SetSerializeCallback(CMIntegralSerialize);
224163 result.SetDeserializeCallback(CMIntegralDeserialize<GetIntegralCompressFunctionInputSwitch>);
224164#if defined(D_ASSERT_IS_ENABLED)
224165 result.SetFallible();
224166#else
224167 result.SetErrorMode(FunctionErrors::CANNOT_ERROR);
224168#endif
224169 return result;
224170}