Aleksandr Chernousov created SPARK-54490:
--------------------------------------------

             Summary: Classify "withConnection" exceptions in JDBCUtils
                 Key: SPARK-54490
                 URL: https://issues.apache.org/jira/browse/SPARK-54490
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 4.1.0
            Reporter: Aleksandr Chernousov


Currently connection error in JDBCUtils.scala gets thrown as is - 
https://github.com/apache/spark/blob/d14209c6ffba991b1d8ca9580708dea1ee37920e/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JdbcUtils.scala#L1318

Need to classify it to catch properly (to be able to add sqlState later)



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