Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %spark
- data.write
- .format("jdbc")
- .option("url", "jdbc:postgresql://SERVER:5432/DATABASE")
- .option("dbtable", "public.account")
- .option("user", "zeppelin")
- .option("password", "PASSWORD")
- .option("driver", "org.postgresql.Driver")
- .mode("overwrite")
- .save
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement