kadirozde commented on code in PR #1736:
URL: https://github.com/apache/phoenix/pull/1736#discussion_r1449375876
##########
phoenix-core-client/src/main/java/org/apache/phoenix/filter/PagingFilter.java:
##########
@@ -71,30 +68,21 @@ public void setDelegateFilter (Filter delegate) {
this.delegate = delegate;
}
- public byte[] getRowKeyAtStop() {
+ public byte[] getCurrentRowKeyToBeExcluded() {
byte[] rowKeyAtStop = null;
- if (nextHintCell != null) {
- // if we have already seeked to the next cell use that when we
resume the scan
- rowKeyAtStop = CellUtil.cloneRow(nextHintCell);
- } else if (currentCell != null) {
+ if (currentCell != null) {
Review Comment:
Is it possible that currentCell is null? If so then PagingRegionScanner
should check if the row key is null, and handle the null row key.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]