![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
坑们
thelostxxx
这个作者很懒,什么都没留下…
展开
-
Java从文本文件中读取数据,导致Map中Key值重复
有一个需求,从文本文档中读取数据,作为Map中的Key值。 例如文本文件中有两行内容: key key 将每行的数据作为Map中的Key值,此时Map中应该只有一个Key,但在实际操作的时候会发现Map中有两个Key。原创 2016-11-26 10:45:23 · 1123 阅读 · 0 评论 -
Hive中not in函数的小坑
Hive中的not in函数有一个隐藏的陷阱,当not in() 中的数值包含NULL,匹不上的数据会返回NULL而不是True。 所以当在where中使用not in子查询进行筛选,一定要记得去除NULL值。 样例代码: --not in的原始结果 select num,num not in (null,'2'), num not in (null,'2') and tru原创 2017-03-22 15:29:24 · 1880 阅读 · 0 评论