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]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

obtain error while connecting to Impala via Power Query

avatar
Visitor

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!

1 ACCEPTED SOLUTION

avatar

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

View solution in original post

2 REPLIES 2

avatar

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

avatar
Visitor

Thanks for you kindly help, it works!