StreamingQuery.
status
Returns the current status of the query.
New in version 2.1.0.
The current status of the specified query.
Examples
>>> sdf = spark.readStream.format("rate").load() >>> sq = sdf.writeStream.format('memory').queryName('this_query').start()
Get the current status of the query
>>> sq.status {'message': '...', 'isDataAvailable': ..., 'isTriggerActive': ...}
>>> sq.stop()