pyspark.sql.streaming.DataStreamWriter.option

DataStreamWriter.option(key, value)[source]

Adds an output option for the underlying data source.

New in version 2.0.0.

Notes

This API is evolving.