Apache Spark Basics

55 / 69
Apache Spark - In the following code, which statements would get evaluated: 1....

In the following code, which statements would get evaluated: 1. var a = sc.textFile("mydata"); 2. var b = a.filter(...); 3.a.take(5)

  • 1, 2 and 3
  • 1 and 3 because action take is not depending on 2
  • None