pyspark.sql.streaming.StreamingQueryManager.resetTerminated

StreamingQueryManager.resetTerminated() → None[source]

Forget about past terminated queries so that awaitAnyTermination() can be used again to wait for new terminations.

New in version 2.0.0.

Examples

>>> spark.streams.resetTerminated()