Hive 常用交互命令、基本屬性配置

hive -help查看交互命令: 工作中用的最多的是 -e -f 1)「-e」不進入 hive 的交互窗口執行 sql 語句 hive -e "select id from student;" 2)「-f」執行腳本中 sql 語句 (1)在/opt/module/datas 目錄下創建 hivef.sql 文件          touch hivef.sql          文件中寫入正確的
相關文章
相關標籤/搜索