Question : how to run a hive script from shell
Answered by : santhosh-kumar-dhanasekaran
hive -e 'SELECT count(*) from pds_table' > a.txt
Source : https://stackoverflow.com/questions/11534034/shell-script-to-run-hiveql-queries | Last Update : Mon, 22 Aug 22