You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Adar Dembo (JIRA)" <ji...@apache.org> on 2017/01/26 02:23:26 UTC

[jira] [Updated] (KUDU-1804) Consider exposing a method to translate prefix queries into range queries

     [ https://issues.apache.org/jira/browse/KUDU-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adar Dembo updated KUDU-1804:
-----------------------------
    Affects Version/s:     (was: 1.1.1)
                       1.1.0

> Consider exposing a method to translate prefix queries into range queries
> -------------------------------------------------------------------------
>
>                 Key: KUDU-1804
>                 URL: https://issues.apache.org/jira/browse/KUDU-1804
>             Project: Kudu
>          Issue Type: New Feature
>          Components: client
>    Affects Versions: 1.1.0
>            Reporter: Will Berkeley
>            Priority: Minor
>
> Spark can push down StringStartsWith filters to Kudu by translating the prefix condition into a range condition, but the function prefix -> range is tricky to get right. We should consider exposing a method to do this in the client to help out clients trying to push down prefix predicates, like Spark and Impala.
> I see three basic options for doing this:
> 1. Add a function prefix -> range
> 2. Add a client-side StartsWith "pseudo-predicate" that translates the query into a range client-side.
> 3. Add a full StartsWith predicate where the translation prefix->range is done server-side.



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