Can you please clarify your point
Do you mean using JDBC to get data from other databases into Spark
val s = HiveContext.load("jdbc",
Map("url" -> _ORACLEserver,
"dbtable" -> "tableā,
"user" -> _username,
"password" -> _password))
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/> http://talebzadehmich.wordpress.com
NOTE: The information in this email is proprietary and confidential. This
message is for the designated recipient only, if you are not the intended
recipient, you should destroy it immediately. Any information in this message
shall not be understood as given or endorsed by Peridale Technology Ltd, its
subsidiaries or their employees, unless expressly so stated. It is the
responsibility of the recipient to ensure that this email is virus free,
therefore neither Peridale Technology Ltd, its subsidiaries nor their employees
accept any responsibility.
From: Shyam Sarkar [mailto:[email protected]]
Sent: 18 February 2016 22:36
To: [email protected]
Subject: JDBC based access to RDD
Is there any good code example for JDBC based access to RDD ?
Thanks.