Hive命令的3种调用方式

方式1:hive –f  /root/shell/hive-script.sql(适合多语句) hive-script.sql类似于script一样,直接写查询命令就行 例如: [[email protected] shell]# vi hive_script3.sql select * from t1; select count(*) from t1; 不进入交互模式,执行一个hive scri
相关文章
相关标签/搜索