Apache Spark - Key Value RDD

21 / 28
More RDD Ops - If we need have two RDDs, adjectives = ["good", "bad"]...

If we need have two RDDs, adjectives = ["good", "bad"] and subjects = ["boy", "girl"] and we want to generate all combinations [("good","boy"), ("good","girl"), ("bad","boy"), ("bad","girl"), ] which transformation would we use?

  • multiply
  • join
  • cartesian
  • combine