Apache Spark Basics

47 / 69
Apache Spark - If the following code returned true, someop was fiter or...

If the following code returned true, someop was fiter or map(): myrdd.someop(...).count() < myrdd.count

  • filter because only filter can result in less number of elements
  • map because only map can result in less number of elements
  • Either because both can result in less number of elements