[
https://issues.apache.org/jira/browse/PHOENIX-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dumindu Buddhika updated PHOENIX-2160:
--------------------------------------
Attachment: PHOENIX-2160_v3.patch
Sorry for being unclear.
This is the code in the patch. It is in BaseScannerRegionObserver.nextRaw
{code}
Tuple tuple = projector.projectResults(new
ResultTuple(Result.create(result)));
result.clear();
result.add(tuple.getValue(0));
if(arrayElementCell != null)
result.add(arrayElementCell);
{code}
I added a test case here. But this does not work when the array is the primary
key. expression is a RowKeyColumnExpression when the array is the primary key.
> Projection of specific array index does not work
> ------------------------------------------------
>
> Key: PHOENIX-2160
> URL: https://issues.apache.org/jira/browse/PHOENIX-2160
> Project: Phoenix
> Issue Type: Bug
> Reporter: ramkrishna.s.vasudevan
> Assignee: ramkrishna.s.vasudevan
> Attachments: PHOENIX-2160.patch, PHOENIX-2160_v2.patch,
> PHOENIX-2160_v3.patch
>
>
> PHOENIX-10 that allowed projection of specific array index does not work now.
> Was looking into the code for some thing and found this issue. Let me know if
> am missing something.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)