更新时间:2021-11-22 04:19:53
根据我的经验,将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