Tian Gao created SPARK-61605:
--------------------------------

             Summary: Add a test for SparkSession.interruptOperation
                 Key: SPARK-61605
                 URL: https://issues.apache.org/jira/browse/SPARK-61605
             Project: Spark
          Issue Type: Test
          Components: PySpark
    Affects Versions: 5.0.0
            Reporter: Tian Gao


12 lines in `python/pyspark/sql/connect/client/core.py` were not covered by any 
test: 7 lines of `SparkConnectClient.interrupt_operation` and the `"operation"` 
branch of `_interrupt_request`. `interrupt_operation` backs the public 
`SparkSession.interruptOperation` in Spark Connect. Tests already cover 
`interruptAll` and `interruptTag`, but nothing calls `interruptOperation` in 
either mode. This test covers the full Interrupt RPC round trip for that API.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to