Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a job design as below.
tFileInputDelimited -> tFlowtoIterate -> tJavaFlex ->(Iterate) tFileInputDelimited -> tJavaRow
I am preparing the SQL queries dynamically from a file using the above flow and the till here the flow is working fine. Now, I want to pass the output from tJavaRow as batch(i.e. all the list of queries) to tHiveInput or tHiveRow.
I tried..
..-> tJavaRow -> tForEach -> (OnComponentOk) -> tHiveConnection -> tHiveRow.
The above flow is not working for me. I am sure, I am doing something wrong here. Please correct or suggest how to proceed further.
hi @fdenis,
I tried, but its not working. Below is my job_design snapshot.
Also, as i need to send all the queries at once to a Hive session, will tHiveRow work ? As i read, tHiveRow accepts one query at a time. I may be wrong. Please correct me.
As i already explained, I have list of queries generated as an output from tJavaRow component.
i.e. eg:-
select * from emp where emp_id = "121"
select * from dept where dept_name "XYZ"
..
and so on..
I need send those queries as batch (i.e all queries at once to the Hive session) and retrieve the result.
I did the changes, as above.
I am getting an error - "output_row cannot be resolved to a variable".
I have tJavaRow (row->main) .. but i am not able to connect to tHiveInput as main