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

Lars Hofhansl commented on HBASE-8847:
--------------------------------------

+1 on second patch. This is a nice improvement.
After this "baked" some in trunk, we should probably port over to 0.94/0.95.

                
> Filter.transform() always applies unconditionally, even when combined in a 
> FilterList
> -------------------------------------------------------------------------------------
>
>                 Key: HBASE-8847
>                 URL: https://issues.apache.org/jira/browse/HBASE-8847
>             Project: HBase
>          Issue Type: Bug
>          Components: Filters
>    Affects Versions: 0.94.2
>            Reporter: Christophe Taton
>            Assignee: Christophe Taton
>            Priority: Minor
>             Fix For: 0.98.0
>
>         Attachments: HBASE-8847.base=trunk.diff, HBASE-8847.patch
>
>
> FilterList.transform() applies all transformation from all filters 
> unconditionally.
> This leads to surprising results, eg. with combinations such as
>   (family=X and column=Y and KeyOnlyFilter) or ...
> The KeyOnlyFilter will strip the values from all KeyValues.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to