jdbc (DataFrameWriter)
Saves the content of the DataFrame to an external database table via JDBC.
Syntax
jdbc(url, table, mode=None, properties=None)
Parameters
Parameter | Type | Description |
|---|---|---|
| str | The JDBC URL of the form |
| str | The name of the table in the external database. |
| str, optional | The behavior when data already exists. Accepted values are |
| dict, optional | A dictionary of JDBC database connection arguments. Typically includes |
Returns
None
Notes
Avoid creating too many partitions in parallel on a large cluster, as this can crash external database systems.