Skip to main content
Question

Celonis EMS Impala error due to "-symbols in query

  • February 14, 2024
  • 4 replies
  • 5 views

joos.buijs
Level 10
Forum|alt.badge.img+2

We are currently migrating to Celonis EMS, however we are experiencing an issue with the Impala connector. Celonis creates queries such as

 

Select * from "schema"."table"

 

where Impala interprets " as string delimiter. Other tools that are talking to our Impala database, including Celonis on-premise, do not have this issue.

 

Does anyone know how to configure the Celonis Impala data connection to change this?

 

Many thanks in advance!

 

Joos Buijs - APG

4 replies

Sverre Klein
Level 10
Forum|alt.badge.img+14
  • Level 10
  • February 15, 2024

Hey @joos.buijs,

 

I sadly don't have experience with the Impala Connector, but my guess that it has something do to with the Unicode.

 

According to the Celonis documentation for Cloudera Impala, there is a field you alter called usesqlunicodetypes. By setting this on 0 Impala will use the default Unicode data types.

 

Documentation: Cloudera Impala: How do I set up my database connection? (celonis.com)

 

Hopefully this will help you in some way.

 

Kind regards,

Sverre Klein


joos.buijs
Level 10
Forum|alt.badge.img+2
  • Author
  • Level 10
  • February 15, 2024

Thanks for your reply @sverre.klein11 !

 

During our investigation, and thanks to @Bart Hompes we found the following as possible causes/solutions:

  1. Set the JDBC property SQL_IDENTIFIER_QUOTE_CHAR to backtick, however we are not certain where/how to pass this property. The extractor fails when passing this in the JDBC string.
  2. Set the property UseNativeQuery=0, same issue as above
  3. Pass identifier.quote=”`”  in the connection properties, but this also seems to break the extractor

 

Any insights to help us further from anyone is much appreciated, as this is getting quite blocking for us currently :)


Sverre Klein
Level 10
Forum|alt.badge.img+14
  • Level 10
  • February 21, 2024

Thanks for your reply @sverre.klein11 !

 

During our investigation, and thanks to @Bart Hompes we found the following as possible causes/solutions:

  1. Set the JDBC property SQL_IDENTIFIER_QUOTE_CHAR to backtick, however we are not certain where/how to pass this property. The extractor fails when passing this in the JDBC string.
  2. Set the property UseNativeQuery=0, same issue as above
  3. Pass identifier.quote=”`”  in the connection properties, but this also seems to break the extractor

 

Any insights to help us further from anyone is much appreciated, as this is getting quite blocking for us currently :)

Hi @joos.buijs,

 

I was wondering if you were able to solve the above issue. If you did, I'm curious to know how 😎.

 

If not, I hope you will find a solution soon.. sadly I don't have experience with Impala :(


joos.buijs
Level 10
Forum|alt.badge.img+2
  • Author
  • Level 10
  • February 21, 2024

Hi @joos.buijs,

 

I was wondering if you were able to solve the above issue. If you did, I'm curious to know how 😎.

 

If not, I hope you will find a solution soon.. sadly I don't have experience with Impala :(

We have opened a support ticket with Celonis, but are still waiting a technical discussion/assistance. We'll let you know if we found a solution but are still open for inspiration :)