hive學習總結(3)—從文件中加載執行語句

1. 從文件中執行hql語句shell          hive -f test.hql;spa   2. 在hive shell中使用source執行腳本xml         source test.hql;blog   注:hive執行語句的文件一般使用.hql或.q爲後綴名,但不是必須的。it
相關文章
相關標籤/搜索