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

Jun Ng commented on PHOENIX-2077:
---------------------------------

Hv checked the code and found we did not use this filter at all.
If we just want to filter the excat family, it can be done by adding family in 
scan. why should we still need this filter ?

> Assert fail on TestFamilyOnlyFilter
> -----------------------------------
>
>                 Key: PHOENIX-2077
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2077
>             Project: Phoenix
>          Issue Type: Test
>    Affects Versions: 4.4.0
>            Reporter: Jun Ng
>            Priority: Minor
>
> It asserted fail on TestFamilyOnlyFilter while I was trying to build Phoenix 
> and run unit tests.
> It threw some errors like, 
> Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec <<< 
> FAILURE! - in 
> org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter
> testResetFilter(org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter)
>   Time elapsed: 0.004 sec  <<< FAILURE!
> java.lang.AssertionError: Didn't filter out non-matching family! 
> expected:<SKIP> but was:<NEXT_ROW>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:118)
>         at 
> org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter.testResetFilter(TestFamilyOnlyFilter.java:86)
> testPassesFirstFamily(org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter)
>   Time elapsed: 0 sec  <<< FAILURE!
> java.lang.AssertionError: Didn't filter out non-matching family! 
> expected:<SKIP> but was:<NEXT_ROW>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:118)
>         at 
> org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter.testPassesFirstFamily(TestFamilyOnlyFilter.java:50)
> testPassesTargetFamilyAsNonFirstFamily(org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter)
>   Time elapsed: 0 sec  <<< FAILURE!
> java.lang.AssertionError: Didn't filter out non-matching family! 
> expected:<SKIP> but was:<NEXT_ROW>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:118)
>         at 
> org.apache.phoenix.hbase.index.covered.filter.TestFamilyOnlyFilter.testPassesTargetFamilyAsNonFirstFamily(TestFamilyOnlyFilter.java:64)



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

Reply via email to