-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
[SPARK-12506][SPARK-12126][SQL]use CatalystScan for JDBCRelation #11005
Conversation
Can one of the admins verify this patch? |
cc @liancheng |
=== "((NOT (col0 != 'abc' OR col0 IS NULL OR 'abc' IS NULL) " | ||
+ "OR (col0 IS NULL AND 'abc' IS NULL))) AND (col1 = 'def')") | ||
} | ||
// test("compile filters") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks you forgot to uncomment those..
Great work though, I think that we should consider lots of things to refactor these kinds of datasource push-down codes because related tickets (SPARK-12449, 12686, ...) describes non-filter logical operators push downs. Also, this pr could break binary compatibility... |
Is |
I agree that Anyway, the idea to share codes in |
Thanks for the pull request. I'm going through a list of pull requests to cut them down since the sheer number is breaking some of the tooling we have. Due to lack of activity on this pull request, I'm going to push a commit to close it. Feel free to reopen it or create a new one. We can also continue the discussion on the JIRA ticket. |
@rxin Why was this pull request closed? Can you direct me to a new one that could have replaced it? I was trying to track down the modification of push downs for basic operations like "limit". |
Technical reason: It's kind of risky to rely on Practical reason: there are too many pending PRs as you see. If the author is not responsive and the PR is inactive to review comments, we better leave them closed for now - seems it's already stuck in few technical reasons. The author is welcome to reopen and other contributors are welcome to take over. |
BTW, datasource v2 is in progress too to allow more push downs (see SPARK-22386). You might want to take a look |
@HyukjinKwon Thanks this is what I was looking for. Glad the work is still being continued. |
As suggested here, I will change JDBCRelation to implement CatalystScan, and then directly access Catalyst expressions in JDBCRDD.