if you mean to both register and use the table while you are inside mapPartition, i do not think that is possible or advisable. can you join the data? or broadcast it?
On Tue, Feb 9, 2016 at 8:22 PM, SRK <swethakasire...@gmail.com> wrote: > hi, > > How to use a registerTempTable to register an RDD as a temporary table and > use it inside mapPartitions of a different RDD? > > > Thanks, > Swetha > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/How-to-use-a-register-temp-table-inside-mapPartitions-of-an-RDD-tp26187.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >