Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 04:47 AM
Just a lucky guess here... Maybe the spark-postgres library was not correctly installed? Try removing the jar and uploading it once again.
If that doesn't work, try to replace spark.read.format("postgres")
with spark.read.format("io.frama.parisni.spark.postgres.DataSource")