Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scala> val dataframe_mysql = sqlContext.read.format("jdbc").option("url", "jdbc:mysql://localhost/dfrobot").option("driver", "com.mysql.jdbc.Driver").option("dbtable", "product").option("user", "root").load()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement