You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2015/09/06 07:00:48 UTC

[jira] [Updated] (PHOENIX-2237) Optimiza search comparator in KeyValyeUtil

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

Lars Hofhansl updated PHOENIX-2237:
-----------------------------------
    Attachment: 2237-master.txt

Patch:
* avoids rowkey compares
* does exact matches (no need to check for inexact matches, no recheck whether the column was found
* explains the assumptions in a comment
* adds asserts to verify those at least in tests

> Optimiza search comparator in KeyValyeUtil
> ------------------------------------------
>
>                 Key: PHOENIX-2237
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2237
>             Project: Phoenix
>          Issue Type: Sub-task
>    Affects Versions: 4.5.2
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>         Attachments: 2237-master.txt
>
>
> See observation in parent:
> # We are guaranteed to be passed KVs of the same row
> # There'll be at most one version for each column
> #1 allows us to completely avoid comparing the row keys.
> #2 Let's us do exact searches for columns. Allowing us to simplify the code - and save a bit more performance.



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