We are connecting Hadoop cloudera CDH distribution through ODBC driver. Queries are generated from SSRS. Few queries are working fine with parameters augmented through ? placeholder. Few other queries with parameters augmented through ? are not executing. Error [HY000][Cloudera][ImpalaODBC] (100) error while executing a query in Impala[HY000] : AnalysisException : syntax error in line 1 where Date >= ? and Date <= ? ^Encountered : Unexpected characterExpected : Case... Exception : syntax error. If i remove where Date >= ? and Date <= ? or supply the hard coded value then query is working perfect. Few other queries with same filter are working perfect.
- What should be recommended investigation points?
- Where could i get the exact impala transformed query to investigate whether query is generated correct or not ?