presto-spi/src/main/java/io/prestosql/spi/type/ShortDecimalType.java/ShortDecimalType/getObjectValue
class ShortDecimalType:    @Override
    public Object getObjectValue(ConnectorSession session, Block block, int position)
    {
        if (block.isNull(position)) {
            return null;
        }
        long unscaledValue = block.getLong(position, 0);
        return new SqlDecimal(BigInteger.valueOf(unscaledValue), getPrecision(), getScale());
    }