Apache Spark Basics

59 / 69
Apache Spark - Which one can be emulated with flatMap()?...

Which one can be emulated with flatMap()?

  • map() - By returning a single value array
  • filter() - By returning empty array or single value array
  • Both