Skip to content

[SPARK-12315][SQL] isnotnull operator not pushed down for JDBC datasource. #10287

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

HyukjinKwon
Copy link
Member

https://issues.apache.org/jira/browse/SPARK-12315
IsNotNull 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 IsNotNull filter to produce a proper filter string.

@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 #47636 has finished for PR 10287 at commit eacb4ea.

  • 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 #47783 has finished for PR 10287 at commit 5b3585d.

  • 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

Next time please submit a single PR for these, since they are all in one place and are conflicting with each other...

@rxin
Copy link
Contributor

rxin commented Dec 16, 2015

I've merged this. Thanks.

@asfgit asfgit closed this in 2aad2d3 Dec 16, 2015
zzcclp added a commit to zzcclp/spark that referenced this pull request Jul 27, 2016
@HyukjinKwon HyukjinKwon deleted the SPARK-12315 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