Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

SQL Query Failed with Cloudera Hive JDBC driver but works fine in Hue

Solved Go to solution
Highlighted

Re: SQL Query Failed with Cloudera Hive JDBC driver but works fine in Hue

Guru
@prossblad ,

In Cloudera's Hive JDBC driver the default value for UseNativeQuery is 0, please refer to below doc:
https://www.cloudera.com/documentation/other/connectors/hive-jdbc/latest/Cloudera-JDBC-Driver-for-Ap...

Simba jdbc Spark driver also uses 0 as default value for UseNativeQuery, see below:
https://www.simba.com/products/Spark/doc/JDBC_InstallGuide/content/jdbc/hi/options/usenativequery.ht...

Cheers
Eric