Skip to content
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-12409][SQL]add filter (IN, AND, OR) #10386

Closed
wants to merge 1 commit into from
Closed

[SPARK-12409][SQL]add filter (IN, AND, OR) #10386

wants to merge 1 commit into from

Conversation

huaxingao
Copy link
Contributor

push filters IN, ADD, OR to JDBC layer.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@@ -269,6 +269,13 @@ private[sql] class JDBCRDD(
case stringValue: String => s"'${escapeSql(stringValue)}'"
case timestampValue: Timestamp => "'" + timestampValue + "'"
case dateValue: Date => "'" + dateValue + "'"
case objectValue: Array[Object] => {
val str = objectValue.map {
case string: String => s"'${escapeSql(string)}'"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Remove unnecessary space by referring other codes

@maropu
Copy link
Member

maropu commented Dec 22, 2015

Great work and I left some comments.

@maropu
Copy link
Member

maropu commented Dec 22, 2015

Please add tests by referring #10409.

@rxin
Copy link
Contributor

rxin commented Dec 30, 2015

@huaxingao can you close this pull request now #10468 has been merged?

asfgit pushed a commit that referenced this pull request Dec 30, 2015
…ush-down filters for JDBC

This is rework from #10386 and add more tests and LIKE push-down support.

Author: Takeshi YAMAMURO <linguin.m.s@gmail.com>

Closes #10468 from maropu/SupportMorePushdownInJdbc.
@asfgit asfgit closed this in c642c3a Dec 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants