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中的爆炸函数写法:
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);