热门

最新

红包

立Flag

投票

同城

我的

发布
foools
Foools
4 年前
truefoools

hive lateral view explode

select a.uid, t.user_channel_id as user_channel_id
from qube_dw.dm_d_mp_user_snap a
LATERAL VIEW explode (split(a.user_channel_id,',')) t as user_channel_id
where a.dt = '2021-07-01'
LATERAL VIEW 在where之前

https://zhuanlan.zhihu.com/p/115913870
https://blog.csdn.net/bitcarmanlee/article/details/51926530

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
cy
立即登录