presto-hive/src/main/java/io/prestosql/plugin/hive/coercions/DecimalCoercers.java/DoubleToShortDecimalCoercer/applyCoercedValue
class DoubleToShortDecimalCoercer:        @Override
        protected void applyCoercedValue(BlockBuilder blockBuilder, Block block, int position)
        {
            toType.writeLong(blockBuilder,
                    doubleToShortDecimal(fromType.getDouble(block, position), toType.getPrecision(), toType.getScale()));
        }