PHOENIX-4496 Fix RowValueConstructorIT and IndexMetadataIT
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/f543d99a Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/f543d99a Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/f543d99a Branch: refs/heads/4.x-HBase-1.3 Commit: f543d99a358a3bd3164754bfb81f9f1582c320f9 Parents: 672f195 Author: Ankit Singhal <ankitsingha...@gmail.com> Authored: Fri Apr 13 15:04:43 2018 +0530 Committer: Ankit Singhal <ankitsingha...@gmail.com> Committed: Fri Apr 13 15:04:43 2018 +0530 ---------------------------------------------------------------------- .../apache/phoenix/hbase/index/scanner/ScannerBuilder.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/f543d99a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/scanner/ScannerBuilder.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/scanner/ScannerBuilder.java b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/scanner/ScannerBuilder.java index 4c42fe4..703fcd2 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/scanner/ScannerBuilder.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/scanner/ScannerBuilder.java @@ -101,11 +101,17 @@ public class ScannerBuilder { } if(columns.isEmpty()){ - columnFilters.addFilter(new FilterBase(){ + columnFilters.addFilter(new FilterBase() { + @Override public boolean filterAllRemaining() throws IOException { return true; } + + @Override + public ReturnCode filterKeyValue(Cell v) throws IOException { + return Filter.ReturnCode.INCLUDE; + } }); } return columnFilters;