You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Will Berkeley (JIRA)" <ji...@apache.org> on 2016/09/20 18:24:20 UTC

[jira] [Comment Edited] (KUDU-1631) Spark: push down StringStartsWith filters

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

Will Berkeley edited comment on KUDU-1631 at 9/20/16 6:23 PM:
--------------------------------------------------------------

KUDU-1452 is for support of LIKE in Kudu itself. The issue is that it would require refactoring of the way predicates work unless we just supported the prefix case where the predicate can be reduced to a comparison-- see the comments.


was (Author: wdberkeley):
KUDU-1452 is for support of LIKE in Kudu itself. The issue is that it would require refactoring of the way predicates work -- see the comments.

> Spark: push down StringStartsWith filters
> -----------------------------------------
>
>                 Key: KUDU-1631
>                 URL: https://issues.apache.org/jira/browse/KUDU-1631
>             Project: Kudu
>          Issue Type: Improvement
>          Components: spark
>    Affects Versions: 1.0.0
>            Reporter: Dan Burkert
>            Priority: Minor
>
> We can push down SparkSQL {{LIKE "foo%"}} predicates which are handled as [{{StringStartsWith}}|https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/sources/filters.scala#L180] filters as a range predicate on the Kudu column.



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