Skip to content

Commit

Permalink
HBASE-28576 Remove FirstKeyValueMatchingQualifiersFilter (apache#5891)
Browse files Browse the repository at this point in the history
Signed-off-by: Duo Zhang <zhangduo@apache.org>
  • Loading branch information
2005hithlj authored and vinayakphegde committed May 21, 2024
1 parent 99544a9 commit 45a1930
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 53 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertThrows;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;

Expand All @@ -39,7 +38,6 @@
import org.apache.hadoop.hbase.filter.ColumnRangeFilter;
import org.apache.hadoop.hbase.filter.Filter;
import org.apache.hadoop.hbase.filter.FirstKeyOnlyFilter;
import org.apache.hadoop.hbase.filter.FirstKeyValueMatchingQualifiersFilter;
import org.apache.hadoop.hbase.filter.RandomRowFilter;
import org.apache.hadoop.hbase.testclassification.LargeTests;
import org.apache.hadoop.hbase.util.Bytes;
Expand Down Expand Up @@ -774,10 +772,6 @@ public void testPartialResultsWithColumnFilter() throws Exception {
testPartialResultsWithColumnFilter(new ColumnPrefixFilter(Bytes.toBytes("testQualifier5")));
testPartialResultsWithColumnFilter(new ColumnRangeFilter(Bytes.toBytes("testQualifer1"), true,
Bytes.toBytes("testQualifier7"), true));

// Throw an Exception to the old version client to remind them not to use this filter anymore
assertThrows("Stop using", DoNotRetryIOException.class,
() -> testPartialResultsWithColumnFilter(new FirstKeyValueMatchingQualifiersFilter()));
}

public void testPartialResultsWithColumnFilter(Filter filter) throws Exception {
Expand Down

0 comments on commit 45a1930

Please sign in to comment.