Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jdbcDF.write
- .format("jdbc")
- .option("url", "jdbc:mysql://host:3306/schema_name")
- .option("dbtable", "schema.tablename")
- .option("user", "username")
- .option("password", "password")
- .option("createTableColumnTypes", "name CHAR(1), num INTEGER")
- .save()
Add Comment
Please, Sign In to add comment