用spark sql语句就能实现。

select * from t1  lateral view explode(split(label_class_tmp, ',')) tmpTable as label_class

 

相关文章: