Hi,
1. what is the underlying DB, say Hive etc 2. Is table transactional or you are going to do insert/overwrite to the same table 3. can you do all this in the database itself assuming it is an RDBMS 4. Can you provide the sql or pseudo code for such an update HTH Dr Mich Talebzadeh LinkedIn * https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw <https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw>* http://talebzadehmich.wordpress.com *Disclaimer:* Use it at your own risk. Any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on this email's technical content is explicitly disclaimed. The author will in no case be liable for any monetary damages arising from such loss, damage or destruction. On 9 August 2016 at 13:39, sujeet jog <sujeet....@gmail.com> wrote: > Hi, > > Is it possible to update certain columnr records in DB from spark, > > for example i have 10 rows with 3 columns which are read from Spark SQL, > > i want to update specific column entries and write back to DB, but since > RDD"s are immutable i believe this would be difficult, is there a > workaround. > > > Thanks, > Sujeet >