[ 
https://issues.apache.org/jira/browse/PHOENIX-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15298461#comment-15298461
 ] 

Rajeshbabu Chintaguntla commented on PHOENIX-2903:
--------------------------------------------------

bq. In ScanUtil#setLocalIndexAttributes we need to replace 
SCAN_ACTUAL_START_ROW with SCAN_START_ROW to set region start key as actual 
start key. 
{noformat}
    public static void setLocalIndexAttributes(Scan newScan, int keyOffset, 
byte[] regionStartKey, byte[] regionEndKey, byte[] startRowSuffix, byte[] 
stopRowSuffix) {
         if(ScanUtil.isLocalIndex(newScan)) {
-             newScan.setAttribute(SCAN_ACTUAL_START_ROW, regionStartKey);

{noformat}

> Handle split during scan for row key ordered aggregations
> ---------------------------------------------------------
>
>                 Key: PHOENIX-2903
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2903
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: James Taylor
>             Fix For: 4.8.0
>
>         Attachments: PHOENIX-2903_v1.patch, PHOENIX-2903_v2.patch, 
> PHOENIX-2903_v3.patch, PHOENIX-2903_wip.patch
>
>
> Currently a hole in our split detection code



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to