forked from bharathv/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KUDU-2173: Partitions are incorrectly pruned when range-partitioned o…
…n a PK prefix The partition pruner mistakenly treated a range partition which is a proper prefix of a primary key as an exclusive bound, when in fact it's an inclusive bound if the remaining PK column constraints are greater than the min value. This is a C++-only bug; the Java client only attempts to use the PK as the range partition bound when the primary key columns match the range partition columns exactly (see KUDU-2178). Regardless, I added Java regression tests in order to cover the case when the Java pruner is improved. Change-Id: I38752f50c0910cd157a912eaa272c76a1a0d9b59 Reviewed-on: http://gerrit.cloudera.org:8080/8222 Tested-by: Kudu Jenkins Reviewed-by: Todd Lipcon <[email protected]>
- Loading branch information
1 parent
29a7568
commit 0c82398
Showing
6 changed files
with
320 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.