Skip to content

Conversation

@HyukjinKwon
Copy link
Member

https://issues.apache.org/jira/browse/SPARK-12314
IsNull filter is not being pushed down for JDBC datasource.

It looks it is SQL standard according to SQL-92, SQL:1999, SQL:2003 and SQL:201x and I believe most databases support this.

In this PR, I simply added the case for IsNull filter to produce a proper filter string.

@HyukjinKwon HyukjinKwon changed the title [SPARK-12315][SQL[ isnull operator not pushed down for JDBC datasource. [SPARK-12315][SQL] isnull operator not pushed down for JDBC datasource. Dec 14, 2015
@HyukjinKwon HyukjinKwon changed the title [SPARK-12315][SQL] isnull operator not pushed down for JDBC datasource. [SPARK-12314][SQL] isnull operator not pushed down for JDBC datasource. Dec 14, 2015
@HyukjinKwon
Copy link
Member Author

Actually the test for this PR is not correctly being tested with the result but I just added it just like the other predicate tests. I will correct the test as soon as #10221 is merged.

@SparkQA
Copy link

SparkQA commented Dec 14, 2015

Test build #47635 has finished for PR 10286 at commit ff9d8b2.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member Author

I updated the test for this since #10221 is merged.

@SparkQA
Copy link

SparkQA commented Dec 16, 2015

Test build #47784 has finished for PR 10286 at commit 969ebe8.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member Author

cc @rxin

@rxin
Copy link
Contributor

rxin commented Dec 16, 2015

I've merged this into master. Thanks.

@asfgit asfgit closed this in 7f443a6 Dec 16, 2015
zzcclp added a commit to zzcclp/spark that referenced this pull request Jul 27, 2016
@HyukjinKwon HyukjinKwon deleted the SPARK-12314 branch September 23, 2016 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants