[ 
https://issues.apache.org/jira/browse/SPARK-54550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun resolved SPARK-54550.
-----------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

Issue resolved by pull request 53260
[https://github.com/apache/spark/pull/53260]

> Handle ConnectException gracefully in SparkConnectStatement.close()
> -------------------------------------------------------------------
>
>                 Key: SPARK-54550
>                 URL: https://issues.apache.org/jira/browse/SPARK-54550
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Vinod KC
>            Assignee: Vinod KC
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> The `org.apache.spark.sql.connect.client.jdbc.SparkConnectStatement.close()` 
> method can throw ConnectException when attempting to interrupt operations 
> during cleanup, causing issues for applications that call close in finally 
> blocks or during shutdown.
> Additionally, the method incorrectly sets closed = false instead of closed = 
> true.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to