DRILL-1120: Use DecimalScalePrecisionModFunction to compute scale & precision for mod function