Apache Spark Basics

86 / 87
   

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?