PySpark referenceClassesStreamingQueryisActiveOn this pageisActive (StreamingQuery) Returns whether this streaming query is currently active. Returns bool Examples Pythonsdf = spark.readStream.format("rate").load()sq = sdf.writeStream.format('memory').queryName('this_query').start()sq.isActive# Truesq.stop()