nxcals.api.extraction.data.builders.SparkSession.interruptOperation

SparkSession.interruptOperation(op_id: str) → List[str]

Interrupt an operation of this session with the given operationId.

Added in version 3.5.0.

Changed in version 4.0.0: Supports Spark Classic.

Returns:

List of operationIds of interrupted operations.

Return type:

list of str

Notes

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