presto-main/src/main/java/io/prestosql/util/JsonUtil.java/JsonUtil/currentTokenAsShortDecimal
class JsonUtil:    public static Long currentTokenAsShortDecimal(JsonParser parser, int precision, int scale)
            throws IOException
    {
        BigDecimal bigDecimal = currentTokenAsJavaDecimal(parser, precision, scale);
        return bigDecimal != null ? bigDecimal.unscaledValue().longValue() : null;
    }