presto-parser/src/main/java/io/prestosql/type/TypeCalculation.java/CalculateTypeVisitor/visitNumericLiteral
class CalculateTypeVisitor:        @Override
        public BigInteger visitNumericLiteral(NumericLiteralContext ctx)
        {
            return new BigInteger(ctx.INTEGER_VALUE().getText());
        }