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.
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.
Does confirmation of jdbc functionality conclusively exclude odbc driver as the culprit?
I read the QV community thread earlier, but since the item was unresolved, I started my own. Subsequently it occurred to me that QV folks won't be able to help me if it's a driver limitation.
Thanks. It's unchecked by default.
I played with that setting before; setting it to 'on' does cause my previously functional syntax to fail.
Right now (native unchecked), doing a select on [a_date] works, but Hive functions like reverse([a_date]) fail.