presto-spi/src/main/java/io/prestosql/spi/type/SqlDecimal.java/SqlDecimal/toBigDecimal
class SqlDecimal:    public BigDecimal toBigDecimal()
    {
        return new BigDecimal(unscaledValue, scale, new MathContext(precision));
    }