Say, we want to persist records of an RDD into a Database such that each record becomes a row but we want to only open one connection per partition, which of the following is most effective and efficient?
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
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
Here, question is which transformation would be most effective? but foreachPartition is an action...question would be which action? please correct me if I am wrong
Upvote ShareYou are right. I just corrected it.
Upvote ShareThank you @disqus_Nx65rCqYnK:disqus