摘要: https://teddysun.com/486.html 阅读全文
posted @ 2018-03-22 23:15 chenzechao 阅读(175) 评论(0) 推荐(0)
摘要: 1 进入hbase: hbase shell 2 进入HIVE: hive 3 4 hbase中建一张t_student_info表,添加两个列族 5 create 't_student_info','st1','st2' 6 7 hbase查看表结构 8 describe 't_student_info' 9 10 11 12 hive 创建外部表要使用EXTE... 阅读全文
posted @ 2018-03-22 15:14 chenzechao 阅读(401) 评论(0) 推荐(0)
摘要: select day -- 时间 ,date_add(day,1 - dayofweek(day)) as week_first_day -- 本周第一天_周日 ,date_add(day,7 - dayofweek(day)) as week_last_day -- 本周最后一天_周六 ,date 阅读全文
posted @ 2018-03-22 10:25 chenzechao 阅读(89301) 评论(2) 推荐(5)