文章分类 -  Hive

摘要:select identity_card ,if(LENGTH(identity_card)=18, cast(YEAR(current_timestamp())-CAST(SUBSTR(identity_card,7,4) as int) as int), 0) '年龄' ,case when length(identity_card) = 18 then concat_ws('-','2... 阅读全文
posted @ 2018-12-21 18:29 chengdex 阅读(5255) 评论(0) 推荐(0)
摘要:hive处理存储于json字段中的html文本,碰到特殊字符导致数据与字段错位 阅读全文
posted @ 2018-12-20 12:00 chengdex 阅读(14526) 评论(0) 推荐(1)