[ 
https://issues.apache.org/jira/browse/CALCITE-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16403802#comment-16403802
 ] 

Julian Hyde commented on CALCITE-2211:
--------------------------------------

Sorry to be dense, but can you describe the erroneous behavior you are seeing 
from Calcite? Is the JDBC adapter calling ResultSet.getObject and then giving a 
ClassCastException? What is the error stack you are seeing?

If so, there is a method ResultSet.getBigDecimal, so if the JDBC adapter were 
smarter it could call it.

> 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)

Reply via email to