You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2015/12/28 10:55:49 UTC

[jira] [Comment Edited] (SPARK-12506) Push down WHERE clause arithmetic operator to JDBC layer

    [ https://issues.apache.org/jira/browse/SPARK-12506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072575#comment-15072575 ] 

Hyukjin Kwon edited comment on SPARK-12506 at 12/28/15 9:54 AM:
----------------------------------------------------------------

[~huaxing] Maybe we should do this one first https://issues.apache.org/jira/browse/SPARK-9182.

I guess you might be thinking of the change of some codes at {{DataSourceStrategy}} or making this with {{CatalystScan}}, right?

In case of {{CatalystScan}}, I opened the issue here already, https://issues.apache.org/jira/browse/SPARK-12126.

In case of {{DataSourceStrategy}}, We might need to deal with {{Cast}} first https://issues.apache.org/jira/browse/SPARK-9182.


was (Author: hyukjin.kwon):
[~huaxing] Maybe we should do this one first https://issues.apache.org/jira/browse/SPARK-9182.

I guess you might be thinking of the change of some codes at {{DataSourceStrategy}} or making this with {{CatalystScan}}, right?

In case of {{CatalystScan}}, I opened the issue here already, https://issues.apache.org/jira/browse/SPARK-12126.

In case of {{DataSourceStrategy}}, We might need to deal with {{Cast}} first.

> Push down WHERE clause arithmetic operator to JDBC layer
> --------------------------------------------------------
>
>                 Key: SPARK-12506
>                 URL: https://issues.apache.org/jira/browse/SPARK-12506
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Huaxin Gao
>
> For arithmetic operator in WHERE clause such as
> select * from table where c1 + c2 > 10
> Currently where c1 + c2 >10 is done at spark layer. 
> Will push this to JDBC layer so it will be done in database. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org