Apache Spark Basics

82 / 89

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?


Note - Having trouble with the assessment engine? Follow the steps listed here


No hints are availble for this assesment

Answer is not availble for this assesment

Please login to comment

2 Comments

can we see an working example of Cartesian:

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?

  Upvote    Share

Hello Disqus,

Thanks for contacting CloudxLab!

This automatic reply is just to let you know that we received your message and we’ll get back to you with a response as quickly as possible. During business hours (9am-5pm IST, Monday-Friday) we do our best to reply within a few hours. Evenings and weekends may take us a little bit longer.

If you have a general question about using CloudxLab, you’re welcome to browse our below Knowledge Base for walkthroughs of all of our features and answers to frequently asked questions.

- Tech FAQ <https: cloudxlab.com="" faq="" support="">
- General FAQ <https: cloudxlab.com="" faq=""/>

If you have any additional information that you think will help us to assist you, please feel free to reply to this email. We look forward to chatting soon!

Cheers,
The CloudxLab Team

  Upvote    Share