- 博客(3)
- 收藏
- 关注
原创 Hive差集工具
问题描述:A-B,差集运算Hive中left outer join 解决 A差B的问题 select test_1.id, test_1.num from test_1 left outer join test_2 on (test_2.id = test_2.id) where test_2.num is null;
2015-12-22 19:51:13
430
原创 shell分割字符串
- ${str:begin:len},且支持表达式,如:6-3。fdt=$(printf '%s-%s-%s' ${dt:0:4} ${dt:4:2} ${dt:6:2}) #比如想将时间20151221转化为2015-12-21- expr substr “$a” 1 8- echo $a|awk ‘{print substr(,1,8)}’
2015-12-22 18:01:16
458
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人