Samarth Jain created PHOENIX-3602:
-------------------------------------
Summary: Array element is not set correctly when scanning against
local indexes
Key: PHOENIX-3602
URL: https://issues.apache.org/jira/browse/PHOENIX-3602
Project: Phoenix
Issue Type: Bug
Reporter: Samarth Jain
Assignee: Rajeshbabu Chintaguntla
{code}
if (ScanUtil.isLocalIndex(scan) && !ScanUtil.isAnalyzeTable(scan)) {
if(hasReferences && actualStartKey!=null) {
next = scanTillScanStartRow(s, arrayKVRefs,
arrayFuncRefs, result,
null, arrayElementCell);
if (result.isEmpty()) {
return next;
}
}
{code}
[~rajeshbabu] - it looks like when we call the scanTillScanStartRow method in
BaseScannerRegionObserver, the arrayElementCell isn't being set correctly. The
method modifies the arrayElementCell reference but then that won't be reflected
in the calling code. Do you mind taking a look? It would be good to have a test
case around this too. Thanks!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)