通过Linux语句操作Linux环境上的hive上的表数据

0
已邀请:
1

贝克汉姆 - 高级数据仓库工程师,拥有丰富的数据治理实践经验 2018-07-15 回答

写shell脚本
#!/bin/bash
hive -e

"use youdatabase;
insert overwrite local directory '/home/hive/userlogs' into table user_logs;
"

要回复问题请先登录注册