pyspark.sql.SparkSession.interruptAllΒΆ

SparkSession.interruptAll() β†’ List[str][source]ΒΆ

Interrupt all operations of this session currently running on the connected server.

New in version 3.5.0.

Returns
list of str

List of operationIds of interrupted operations.

Notes

There is still a possibility of operation finishing just as it is interrupted.