pyspark.sql.streaming.DataStreamWriter.queryName¶
-
DataStreamWriter.
queryName
(queryName)[source]¶ Specifies the name of the
StreamingQuery
that can be started withstart()
. This name must be unique among all the currently active queries in the associated SparkSession.Note
Evolving.
- Parameters
queryName – unique name for the query
>>> writer = sdf.writeStream.queryName('streaming_query')
New in version 2.0.