Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 02-11-2015 10:32 PM - edited 09-16-2022 02:21 AM
I am trying connecting to Database using Cloudera ODBC Driver for Impala by a connection string runing in Power Query, however it does not work, my connection string like follow
DRIVER={Cloudera ODBC Driver for Impala};Host=192.168.123.14;Port=21050;Schema=default;DefaultTable=default;AuthMech=0;TrustedCerts=C:\Program Files\Cloudera ODBC Driver for Impala\lib\cacerts.pem;
,and the like follow
DataSource.Error: ODBC: ERROR [HY000] [Cloudera][ImpalaODBC] (110) Error while executing a query in Impala: [HY000] : Error: Error: could not match input
Message=ERROR [HY000] [Cloudera][ImpalaODBC] (110) Error while executing a query in Impala: [HY000] : Error: Error: could not match input ErrorCode=-2146232009.
Can someone help me to revise it? Thanks!
Created 02-11-2015 10:54 PM
The error sounds like the ODBC connection was successful, but the Impala query failed to parse.
A common issue is sending a SQL string that is terminated by a semicolon. Impala cannot parse such a query. Remove the trailing semicolon to make it work.
Future versions of Impala will also accept a trailing semicolon.
Let me know if this olves ths issue
Created 02-11-2015 10:54 PM
The error sounds like the ODBC connection was successful, but the Impala query failed to parse.
A common issue is sending a SQL string that is terminated by a semicolon. Impala cannot parse such a query. Remove the trailing semicolon to make it work.
Future versions of Impala will also accept a trailing semicolon.
Let me know if this olves ths issue
Created 02-11-2015 11:28 PM
Thanks for you kindly help, it works!