Add new UDF DetermineCompressionRate.