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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Spark Batch job: Using output of tHiveinput in tSQLRow

I have the below SQL in tHiveInput:

"select max(plan_dk) as MAX_DK from db.table_1"

 

I would like to use the max_dk in the 'select' statement of tSQLRow. could you please give me an example of doing it.

SQL in the tSQLRow is something like this:

 

select row17.max_dk+row_number() over(order by null)

from table;

Labels (2)
2 Replies
vapukov
Master II
Master II

---

manodwhb
Champion II
Champion II

@acherukuri ,I suggest yo to create a context in main standard job and call the spark job in main job and enable transmit the while context to  that sub spark job.