Hive lateral view explode

select 'hello', x from dual lateral view explode(array(1,2,3,4,5)) vt as x

结果是:
hello   1
hello   2
hello   3
hello   4
hello   5




原文地址:https://www.cnblogs.com/lishouguang/p/4560840.html