开发者社区 问答 正文

hive当中从本地文件系统向表中加载数据怎么做?

hive当中从本地文件系统向表中加载数据怎么做?

展开
收起
游客ahv54x37wvm7u 2021-12-08 19:32:17 484 分享 版权
1 条回答
写回答
取消 提交回答
  • 追加操作
    load data local inpath '/export/servers/hivedatas/student.csv' into table student;
    
    覆盖操作
    load data local inpath '/export/servers/hivedatas/student.csv' overwrite  into table student;
    
    2021-12-08 19:32:33
    赞同 展开评论
问答分类:
问答地址: