用shell & Python 封装 Hive SQL 实现类Store Procedure 功能
Shell 资料 http://c.biancheng.net/cpp/view/7002.html
#!/bin/bash
hql = “ ”
hive -e hql
可以把 hive -e 单独封装成一个sh 脚本 ,dw_hive
dw_hive hql
Python 示例 http://slaytanic.blog.51cto.com/2057708/734106/