lidavidm commented on code in PR #39485:
URL: https://github.com/apache/arrow/pull/39485#discussion_r1444938080
##########
java/adapter/jdbc/src/main/java/org/apache/arrow/adapter/jdbc/JdbcToArrowUtils.java:
##########
@@ -169,7 +171,11 @@ public static ArrowType getArrowTypeFromJdbcType(final
JdbcFieldInfo fieldInfo,
case Types.DECIMAL:
int precision = fieldInfo.getPrecision();
int scale = fieldInfo.getScale();
- return new ArrowType.Decimal(precision, scale, 128);
+ if (precision > 38) {
Review Comment:
Should be right. Arrow Decimal128 maxes out at 38 as well.
--
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]