-
- Downloads
[SPARK-17614][SQL] sparkSession.read() .jdbc(***) use the sql syntax "where...
[SPARK-17614][SQL] sparkSession.read() .jdbc(***) use the sql syntax "where 1=0" that Cassandra does not support ## What changes were proposed in this pull request? Use dialect's table-exists query rather than hard-coded WHERE 1=0 query ## How was this patch tested? Existing tests. Author: Sean Owen <sowen@cloudera.com> Closes #15196 from srowen/SPARK-17614.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCRDD.scala 2 additions, 4 deletions...apache/spark/sql/execution/datasources/jdbc/JDBCRDD.scala
- sql/core/src/main/scala/org/apache/spark/sql/jdbc/JdbcDialects.scala 14 additions, 1 deletion...c/main/scala/org/apache/spark/sql/jdbc/JdbcDialects.scala
Loading
Please register or sign in to comment