You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Niraj Kumar <nk...@incedoinc.com> on 2017/01/23 14:10:20 UTC
How to write Spark DataFrame to salesforce table
Hi
I am trying to write a dataframe into salesforce table.
facWriteBack.write.mode("append").jdbc(s"jdbc:salesforce:UseSandbox=True;User=<user_name>;Password=<password>;Security Token=<security_token>;Timeout=0", "SFORCE.<table_name>")
Am I doing it correctly?
And also suggest, how to upsert a record?
Thanks in advance
Niraj
Disclaimer :
This email communication may contain privileged and confidential information and is intended for the use of the addressee only. If you are not an intended recipient you are requested not to reproduce, copy disseminate or in any manner distribute this email communication as the same is strictly prohibited. If you have received this email in error, please notify the sender immediately by return e-mail and delete the communication sent in error. Email communications cannot be guaranteed to be secure & error free and Incedo Inc. is not liable for any errors in the email communication or for the proper, timely and complete transmission thereof.