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 2016/08/21 04:34:20 UTC

[jira] [Created] (PHOENIX-3195) Slight safety improvement for using DistinctPrefixFilter

Lars Hofhansl created PHOENIX-3195:
--------------------------------------

             Summary: Slight safety improvement for using DistinctPrefixFilter
                 Key: PHOENIX-3195
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3195
             Project: Phoenix
          Issue Type: Sub-task
            Reporter: Lars Hofhansl
            Priority: Minor


There is a very slight improvement to when we should use the DistinctPrefixFilter in its current form.

Currently we check for the absence of WhereConditions, but what we really mean to make sure that only one Cell per row is seen. Phoenix already does that and used the FirstKeyOnlyFilter in that case. It's  best to use this condition as well, just to be absolutely safe.



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