Skip to main content

status (StreamingQuery)

Returns the current status of the query.

Returns

dict

Examples

Python
sdf = spark.readStream.format("rate").load()
sq = sdf.writeStream.format('memory').queryName('this_query').start()
sq.status
# {'message': '...', 'isDataAvailable': ..., 'isTriggerActive': ...}
sq.stop()
On this page