[
https://issues.apache.org/jira/browse/CALCITE-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401032#comment-16401032
]
Julian Hyde commented on CALCITE-2211:
--------------------------------------
I gather that the "(20)" means that it has a display width of 20. It does not
affect the precision of values stored (between 0 and 2^64 - 1).
The "unsigned" is a problem because Java has no primitive type that can hold
its whose range of values. I think java.math.BigDecimal is the best choice as
the value type for values coming from JDBC.
> Type of BigInteger should be BIGINT
> -----------------------------------
>
> Key: CALCITE-2211
> URL: https://issues.apache.org/jira/browse/CALCITE-2211
> Project: Calcite
> Issue Type: Bug
> Affects Versions: 1.15.0
> Reporter: Eyal Segal
> Assignee: Julian Hyde
> Priority: Major
>
> Vertica DB returns BigInteger values as BigInteger. It seems thatÂ
> JavaToSqlTypeConversionRules doesn't support mapping between BigInteger to
> BIGINT.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)