Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- studentDataSet.write().mode(SaveMode.Append).
- format("jdbc").
- option("charset", "utf-8").
- option("url", "jdbc:postgresql://localhost:5432/test").
- option("dbtable", "student").
- option("user", "root").
- option("password", "123456").
- save();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement