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

Dan Burkert commented on KUDU-1631:
-----------------------------------

That's exactly what I'm proposing for this ticket.  Spark has a separate filter 
type for the prefix case ({{StringStartsWith}} vs {{StringEndsWith}} and 
{{StringContains}}).  So we could start taking advantage of this without any 
changes to the Java client or tserver.

> 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)

Reply via email to