
Hive
文章平均质量分 58
hive
奈何@
Instead of admitting that the truth of "let it be" is to readily accept any kind of outcome after making full efforts rather than to do nothing at the every beginning. We would rather take "Let it be" as an excuse to evade the path of throns in our life.
展开
-
hive动态分区
1.分区的类型一般来说,分区分为两种,一种是静态分区,一种是原创 2021-01-15 15:02:15 · 395 阅读 · 0 评论 -
Hive DDL和简单函数
一、DDL操作1、修改表 1、1增加分区--一次添加一个分区 alter table tablename add partition (dt='20000202') location '要填在的表在hafs上的实际路径';--一次添加多个分区 alter table tabelname add partition (year='2019',month='...原创 2019-09-22 16:36:33 · 345 阅读 · 0 评论 -
Hive 窗口函数 压缩 调优
一、Hive 窗口函数(OLAP函数\分析函数) 窗口函数最重要的关键字是 partition by 和 order by 具体用法如下:over (parttion by xxx order by xxx)1、SUM、AVG、MIN、MAX数据:cookie1,2018-04-10,1cookie1,2018-04-11,...原创 2019-09-24 16:48:48 · 635 阅读 · 0 评论