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.

Hive Functions via ODBC Driver (QlikView)

avatar
New Member

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.

1 ACCEPTED SOLUTION

avatar
New Member

This problem has been resolved. Errors were caused by QV syntax peculiarities. Details can be viewed in the QV Community post here.

Thanks!

View solution in original post

12 REPLIES 12

avatar
Master Mentor

@Joanna Waligora are you still having issues with this? Can you accept best answer or provide your own solution?

avatar
New Member

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.

avatar
New Member

This problem has been resolved. Errors were caused by QV syntax peculiarities. Details can be viewed in the QV Community post here.

Thanks!