1.cast的使用
cast(cast(retention_1_count as decimal(16,2))/register_count as decimal(16,2))
concat_ws
带分隔符的concat
有两种用法
concat(',', A, B,...) | concat(',', Array())
cast(cast(retention_1_count as decimal(16,2))/register_count as decimal(16,2))
带分隔符的concat
有两种用法
concat(',', A, B,...) | concat(',', Array())
本文标题:[Hive] | Hql学习
本文链接:https://www.haomeiwen.com/subject/qwhtodtx.html
网友评论