option (DataFrameWriterV2)
Adds a write option for the underlying data source.
For available options, see DataFrameWriter options.
Syntax
option(key, value)
Parameters
Parameter | Type | Description |
|---|---|---|
| str | The option key. |
| str, int, float, or bool | The option value. |
Returns
DataFrameWriterV2