Spark scala 中RDD操做實現行轉列

目標: "zjf","1,2,3" 轉換成 zjf,1 zjf,2 zjf,3 很少BB,上代碼 val originPlayVideoTags = sc.parallelize(List(("zjf","1,2,3"))) val a = originPlayVideoTags.collect() for (_a <- a){println(_a)} val b = originPlayVid
相關文章
相關標籤/搜索