Why does `myVar=(“a”,“b”)` and `sc.parallelize(Seq(myVar))` not result in the same type as `sc.parallelize(Seq(“a”, “b”))`?

前端 未结 0 1749
失恋的感觉
失恋的感觉 2021-01-16 07:30

Assume I execute the following lines via the spark-shell:

val myRdd1 = sc.parallelize(Seq("Alice", "Carlos", "Frank"         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题