会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
侠客云
博客园
首页
新随笔
联系
管理
订阅
03 2021 档案
hive DML 操作
摘要:数据导入 向表中装载数据(Load) 1.语法 load data [local] inpath '数据的 path' [overwrite] into table student [partition (partcol1=val1,…)]; (1)load data:表示加载数据 (2)local
阅读全文
posted @
2021-03-27 07:36
冰底熊
hive表DDL操作
摘要:1)启动 Hive bin/hive 2)使用 Hive hive> show databases; hive> show tables; hive> create table test (id int); hive> insert into test values(1); hive> select
阅读全文
posted @
2021-03-27 05:29
冰底熊
3. hive 常用函数
摘要:常用日期函数 1.返回当前或指定时间的时间戳 select unix_timestamp();select unix_timestamp("2020-10-28",'yyyy-MM-dd'); 2.将时间戳转为日期格式select from_unixtime(1603843200); 3.当前日期
阅读全文
posted @
2021-03-23 20:03
冰底熊
hive函数
摘要:函数 查看系统自带的函数 show functions; 显示自带的函数的用法 desc function upper; 详细显示自带的函数的用法 desc function extended upper; UDF > 一进一出 (upper) UDAF > 多进一出 (count) UDTF >
阅读全文
posted @
2021-03-21 20:34
冰底熊
公告