摘要: 基本排序函数语法:rank()over([partition by col1] order by col2)dense_rank()over([partition by col1] order by col2)row_number()over([partition by col1] order by... 阅读全文
posted @ 2014-10-09 16:59 晋心 阅读(3001) 评论(0) 推荐(0) 编辑
摘要: 参考hive常用运算。•If函数: if•非空查找函数: COALESCE•条件判断函数:CASE•If函数: if语法: if(boolean testCondition, T valueTrue, T valueFalseOrNull)返回值: T说明: 当条件testCondition为TRU... 阅读全文
posted @ 2014-10-09 15:37 晋心 阅读(37643) 评论(0) 推荐(0) 编辑
摘要: insert overwrite table canal_amt1......2014-10-09 10:40:27,368 Stage-1 map = 100%, reduce = 32%, Cumulative CPU 2772.48 sec2014-10-09 10:40:28,426 St... 阅读全文
posted @ 2014-10-09 10:51 晋心 阅读(6909) 评论(0) 推荐(0) 编辑