DataStreamWriter.
queryName
Specifies the name of the StreamingQuery that can be started with start(). This name must be unique among all the currently active queries in the associated SparkSession.
StreamingQuery
start()
Note
Evolving.
queryName – unique name for the query
>>> writer = sdf.writeStream.queryName('streaming_query')
New in version 2.0.