Reputation: 105
I want to run file_1.hql and file_2.hql in one hive session. How can I do that? I was thinking of passing both files as hive -f file_1.hql file_2.hql. But -f only takes one file. Any suggestion?
Upvotes: 1
Views: 2128
Reputation: 1152
What about using bash:
hive -e "$(cat file1.hql file2.hql)"
Upvotes: 3