Vinod KC created SPARK-54550:
--------------------------------

             Summary: 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


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