Commit c7ac85c4 c7ac85c4fab8c976e486c484c6eebca40184d1ac by zhanghao

commit

1 parent 18e0a635
......@@ -8,4 +8,4 @@
#total=$(hive -f ./shell/select.hql)
#result=$(echo $total | tr " " ",")
#curl http://192.168.8.113:9090/tool/hadoopTotal?total=${result}
$(hive -e 'create table testdb.qa_log_$(1) as select * from testdb.qa_log')
\ No newline at end of file
$(hive -hivevar name=qa_log_$1 -f ./shell/back_up.hql)
\ No newline at end of file
......
use testdb;
create table ${hivevar:name} as select * from qa_log
\ No newline at end of file