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);
hive中的爆炸函数在presto中的写法
阅读 60
2022-03-30
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)