JDBC Operations in Spark + Scala

Here is the sample code to create a sample Dataframe from a RDD and then insert that into MySql database. This approved should work for any other relational databases.



Happy Sparking...

Comments

Popular posts from this blog

Binary Data to Float using Spark SQL

HBase Table does not exists, but exists

Running Apache Kafka in Windows