pyspark.sql.streaming.DataStreamWriter.option

DataStreamWriter.option(key: str, value: OptionalPrimitiveType) → DataStreamWriter[source]

Adds an output option for the underlying data source.

New in version 2.0.0.

Notes

This API is evolving.