Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
DrGenious
Creator
Creator

thiverow error

Hey ,

 

I am trying to insert values with thiverow into my table in hive and when I parse a row with less columns it throws an error. Is there any option to assign with NULL value the empty columns? Also I tried to parse with thiveload but it throws me an error : 

 

//ParseException line 1:26 cannot recognize input near 'INSERT' 'INTO' 'TABLE' in statement

 

My statements is  "INSERT INTO TABLE test VALUES ('1','2')"

 

Thanks a lot.

Labels (2)
4 Replies
manodwhb
Champion II
Champion II

@DrGenious , there is no option to set that , you need to write query and call that in tHiveRow.

DrGenious
Creator
Creator
Author

@manodwhb  thanks for your answer.

 

In what component to write the insert query and also how to call the query to thiverow?

Now that I want to parse my rows from a file into hive table is there any option to understand the query INSERT INTO TABLE ...VALUES (input_row.id, input_row.name) ? 

DrGenious
Creator
Creator
Author

@manodwhb 

Ηι,

 

I managed to parse a file into hive with global variables in the INTO statement. Although when I am trying to parse a file through tWaitforfile component it throws me an error.  

 

[ERROR]:table_0_1.test_table - tHiveRow_2 - Error while compiling statement: FAILED: SemanticException [Error 10293]: Unable to create temp file for insert values Expression of type . not supported in insert/values.