[
https://issues.apache.org/jira/browse/SPARK-55065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-55065:
-----------------------------------
Labels: pull-request-available (was: )
> Avoid making two JDBC API calls
> -------------------------------
>
> Key: SPARK-55065
> URL: https://issues.apache.org/jira/browse/SPARK-55065
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 4.2.0, 4.1.1
> Reporter: Stefan Savic
> Priority: Major
> Labels: pull-request-available
>
> Instead of explicitly calling tableExists in JDBCTableCatalog.loadTable(...),
> this change now detects table existence by catching exceptions from
> getQueryOutputSchema and checking it with dialect specific method
> isObjectNotFoundException.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]