Modern versions of postgres have upsert, ie insert into ... on conflict ... do update
On Thu, Dec 14, 2017 at 11:26 AM, salemi <alireza.sal...@udo.edu> wrote: > Thank you for your respond. > The approach loads just the data into the DB. I am looking for an approach > that allows me to update existing entries in the DB amor insert a new entry > if it doesn't exist. > > > > > > > -- > Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/ > > --------------------------------------------------------------------- > To unsubscribe e-mail: user-unsubscr...@spark.apache.org > --------------------------------------------------------------------- To unsubscribe e-mail: user-unsubscr...@spark.apache.org