开发者社区> 问答> 正文

Hive Shell 命令导出的基本语法是什么?

Hive Shell 命令导出的基本语法是什么?

展开
收起
游客k7rjnht6hbtk6 2021-12-07 14:29:53 247 0
1 条回答
写回答
取消 提交回答
  • 基本语法:(hive -f/-e 执行语句或者脚本 > file)

    hive -e 'select * from hivetest.dept_partition;' > /opt/datas/dept3/dept.txt;
    
    2021-12-07 14:30:14
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
Hive Bucketing in Apache Spark 立即下载
spark替代HIVE实现ETL作业 立即下载
2019大数据技术公开课第五季—Hive迁移到MaxCompute最佳实践 立即下载