更新时间:2021-08-19 22:13:39
根据我的经验,将 driver 添加到属性通常可以解决问题:
driver
From my experience adding driver to the properties usually solves the problem:
props.put("driver", "org.postgresql.Driver") db.write.jdbc(url, table, props)
Spark-将JDBC驱动程序JAR添加到Google Dataproc
Spark - 将 JDBC 驱动程序 JAR 添加到 Google Dataproc