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