For each row, for each element in exploded list emit 1 row. Row r = { col1 } Set x = [ a,b,c]
for (Object y : x){ emit(row, y) } If the set x size is 3 , three rows are output. On Wed, May 31, 2017 at 8:31 AM, 张明磊 <18717838...@163.com> wrote: > Hello experts, > I was wondering to know as the subject said, what is the > corresponding java or scala code to the hive semantics "*lateral view > explode*" ? In my recently work, i am a new to hql and have to do some > work about “”Real-time off-line fusion“”. That was translate hql > languages into "real time" code, running on the platform of storm or > flink. So, I searched it on google but still confused. I have to ask for > help to hive community, Could you share some light on it ? > > Thanks, > Minglei. > > > > > > >