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.

NiFi: SelectHiveQL processor

avatar
Expert Contributor

I have an external table with the keyword timestamp as one of the column name. Unlike hive shell that provides option to turnoff keyword validation like below, is there a way to execute the SELECT query in the above processor?

set hive.support.sql11.reserved.keywords=false;

I get the following error if I try to execute the query through the SelectHiveQL processor

Failed to recognize predicate 'timestamp'. Failed rule: 'identifier' in table or column identifier

1 ACCEPTED SOLUTION

avatar

Have you tried adding this 'set' statement as the first line of the query, terminated by a semicolon with newline? Next, try quoting the column name, too.

View solution in original post

3 REPLIES 3

avatar

Have you tried adding this 'set' statement as the first line of the query, terminated by a semicolon with newline? Next, try quoting the column name, too.

avatar
Contributor

What does your SQL statement look like?

avatar
Expert Contributor

select header.timestamp from temp