This one is Hive not implementing the Statement#setQueryTimeout method.
I've run into that before.
Srinivasan Hariharan02 wrote:
Hi,
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)