Re: JDBC based access to RDD

2016-02-20 Thread Shyam Sarkar
JdbcRDD.scala code is under the source code directory spark/core/src/main/scala/org/apache/spark/rdd Thanks. On Sat, Feb 20, 2016 at 11:51 AM, Shyam Sarkar wrote: > I was going through the scala code implementing RDD in Spark 1.6 source > code and I found

RE: JDBC based access to RDD

2016-02-18 Thread Mich Talebzadeh
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