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

Rick Hillegas updated SPARK-11426:
----------------------------------
    Component/s: SQL

> JDBCRDD should use JdbcDialect to probe for the existence of a table
> --------------------------------------------------------------------
>
>                 Key: SPARK-11426
>                 URL: https://issues.apache.org/jira/browse/SPARK-11426
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.1
>            Reporter: Rick Hillegas
>            Priority: Minor
>
> JdbcDialect.getTableExistsQuery() lets us specify which query to use in order 
> to probe for the existence of a table. Some JdbcDialects (Postgres and MySQL) 
> override the default query used for this purpose. Presumably, we should use 
> those preferred overrides every time that Spark probes for the existence of a 
> query.
> However, JDBCRDD.resolveTable() has its own, hard-coded query which probes 
> for the existence of a table. We should make JDBCRDD.resolveTable() call 
> JdbcDialect.getTableExistsQuery() instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to