0
点赞
收藏
分享

微信扫一扫

hive中的爆炸函数在presto中的写法

文风起武 2022-03-30 阅读 59


hive中的爆炸函数写法:

SELECT student, score
FROM tests
LATERAL VIEW explode(scores) t AS score;

爆炸函数在presto中的写法:

SELECT student, score
FROM tests
CROSS JOIN UNNEST(scores) AS t (score);



举报

相关推荐

0 条评论