有没有办法将hive CLI中多个hive查询的输出导出到shell脚本?
目前,我有shell脚本,其中有多个hive查询我触发:
VAR1 =`hive -e“……
尝试子查询
select c1.*, c2.*, c3.* from (select count(*) from table1) c1, (select count(*) from table2) c2, (select count(*) from table3) c3;