![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hive
minmin很潇洒
这个作者很懒,什么都没留下…
展开
-
hive的指令操作以及内外临时表的的创建
转自:https://blog.51cto.com/11019607/1832904 2、数据库: OLTP //online transaction process ,在线事务处理 3、drop databases if exists mybase //删除数据库 4、show tables //显示表 5、create database mybase /...原创 2019-09-04 19:21:21 · 3374 阅读 · 0 评论 -
数据库导出数据并导入hive临时表中
转自:https://www.cnblogs.com/xitingxie/p/6758950.html 操作: 1、从db2 中导出数据到txt中 2、修改文件中的分隔符为“:” 3、在hive中新建表(建表时需要制定分隔符) 4、导入数据 -------- 1、从db2 中导出数据到txt中 db2 -x "select col1,col2,col3 from tbl_name...原创 2019-09-04 19:24:17 · 992 阅读 · 0 评论