Repository: phoenix Updated Branches: refs/heads/3.0 40c2288f0 -> 9ba71569b
PHOENIX-1130 SkipScanFilter gets IndexOutOfBoundsException when intersecting salted tables (Kyle Buzsaki) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/9ba71569 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/9ba71569 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/9ba71569 Branch: refs/heads/3.0 Commit: 9ba71569befcc164e6737efff14bbdcbff166a57 Parents: 40c2288 Author: James Taylor <jamestay...@apache.org> Authored: Tue Jul 29 17:15:37 2014 -0700 Committer: James Taylor <jamestay...@apache.org> Committed: Tue Jul 29 17:15:37 2014 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/phoenix/filter/SkipScanFilter.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/9ba71569/phoenix-core/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java b/phoenix-core/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java index 5a66e9c..d65e09c 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/filter/SkipScanFilter.java @@ -210,6 +210,8 @@ public class SkipScanFilter extends FilterBase { if (Arrays.equals(lowerPosition, position) && areSlotsSingleKey(0, position.length-1)) { return false; } + } else if (filterAllRemaining()) { + return true; } // Copy inclusive all positions for (int i = 0; i <= lastSlot; i++) {