Created 12-10-2015 09:00 PM
Hi,
I'm having some trouble executing function-based Hive queries in QlikView (ODBC connector parse error), and I'm looking to understand if the fault lies in the QV syntax, or if functions are simply not supported by the Hive ODBC driver.
Example...
The following works in Hive command line:
select distinct a_date, reverse(a_date) from a_table where a_date > '20151201';
The following fails in QV:
SQL SELECT reverse("a_date") FROM HIVE.a_db."a_table" WHERE "a_date" > '20151201';
The QV and connector implementation is fine otherwise; substituting 'reverse' with 'max' executes happily.
Thanks,
J.
Created 02-16-2016 08:45 PM
This problem has been resolved. Errors were caused by QV syntax peculiarities. Details can be viewed in the QV Community post here.
Thanks!
Created 02-03-2016 03:45 PM
@Joanna Waligora are you still having issues with this? Can you accept best answer or provide your own solution?
Created 02-03-2016 05:25 PM
The QV support team is currently investigating this problem. I will provide an update / closure once I receive their feedback.
Also, I want to correct my initial statement - max, and length functions work fine, but reverse, instr, and regexp_extract don't.
Created 02-16-2016 08:45 PM
This problem has been resolved. Errors were caused by QV syntax peculiarities. Details can be viewed in the QV Community post here.
Thanks!