pyspark.sql.streaming.DataStreamReader.options

DataStreamReader.options(**options: OptionalPrimitiveType) → DataStreamReader

Adds input options for the underlying data source.

Notes

This API is evolving.

Examples

>>> s = spark.readStream.options(x="1", y=2)