Skip to content

Commit

Permalink
HBASE-28576 Remove FirstKeyValueMatchingQualifiersFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
2005hithlj committed May 10, 2024
1 parent 23fa363 commit e72f0cf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 52 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,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 +773,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 e72f0cf

Please sign in to comment.