Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a StreamingQueryManager that allows managing all active StreamingQuery instances on this context.
Syntax
streams
Returns
StreamingQueryManager
Examples
sq = spark.readStream.format(
"rate").load().writeStream.format('memory').queryName('this_query').start()
sqm = spark.streams
[q.name for q in sqm.active]
# ['this_query']
sq.stop()