caicancai commented on code in PR #4006:
URL: https://github.com/apache/calcite/pull/4006#discussion_r1804256246
##########
core/src/test/java/org/apache/calcite/test/TypeCoercionTest.java:
##########
@@ -747,8 +755,10 @@ protected Fixture(RelDataTypeFactory typeFactory,
smallintType = this.typeFactory.createSqlType(SqlTypeName.SMALLINT);
nullableSmallintType =
this.typeFactory.createTypeWithNullability(smallintType, true);
intType = this.typeFactory.createSqlType(SqlTypeName.INTEGER);
+ intJavaType = this.typeFactory.createJavaType(Integer.class);
nullableIntType = this.typeFactory.createTypeWithNullability(intType,
true);
bigintType = this.typeFactory.createSqlType(SqlTypeName.BIGINT);
+ bigintJavaType = this.typeFactory.createJavaType(Long.class);
Review Comment:
Why not use BigInteger.class?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]