AggregationClient fails validation for open stoprow scan
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1306914 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ec4d59770a
commit
67ded34626
|
@ -123,7 +123,8 @@ public class AggregationClient {
|
|||
if (scan == null
|
||||
|| (Bytes.equals(scan.getStartRow(), scan.getStopRow()) && !Bytes
|
||||
.equals(scan.getStartRow(), HConstants.EMPTY_START_ROW))
|
||||
|| Bytes.compareTo(scan.getStartRow(), scan.getStopRow()) > 0) {
|
||||
|| ((Bytes.compareTo(scan.getStartRow(), scan.getStopRow()) > 0) &&
|
||||
!Bytes.equals(scan.getStopRow(), HConstants.EMPTY_END_ROW))) {
|
||||
throw new IOException(
|
||||
"Agg client Exception: Startrow should be smaller than Stoprow");
|
||||
} else if (scan.getFamilyMap().size() != 1) {
|
||||
|
|
Loading…
Reference in New Issue