You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Julian Hyde <jh...@apache.org> on 2016/03/16 19:01:20 UTC

Re: Connect multi database using calcite jdbc

> On Mar 16, 2016, at 7:06 AM, Srinivasan Hariharan02 <Sr...@infosys.com> wrote:
> 
> Now able to query the hive table by using <hivemodelname>.<tablename> in the sql, However while executing the query I am getting the below error.
> 
> 
> Caused by: java.sql.SQLException: Method not supported
>               at org.apache.hive.jdbc.HiveStatement.setQueryTimeout(HiveStatement.java:739)
>               at org.apache.commons.dbcp.DelegatingStatement.setQueryTimeout(DelegatingStatement.java:249)
>               at org.apache.commons.dbcp.DelegatingStatement.setQueryTimeout(DelegatingStatement.java:249)
>               at org.apache.calcite.runtime.ResultSetEnumerable.enumerator(ResultSetEnumerable.java:138)
> 
> Is there any incompatibility with hive jdbc and calcite jdbc.?

I don’t know; I’ve not tested them together. But the above error looks like a compatibility problem to me. Can you please log a JIRA case?

Julian