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

James Taylor commented on PHOENIX-2160:
---------------------------------------

In your visitor, instead of adding the ProjectedColumnExpression, instantiate a 
new KeyValueColumnExpression. Since you're on the client-side, you should be 
able to get the column from ProjectedColumnExpression (add a getColumn accessor 
using the position to index into the Collection<PColumn> - try changing that to 
a List<PColumn> instead too so you can index into it). Given a PColumn, you can 
instantiate a KeyValueColumnExpression.

> 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
>
> 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)

Reply via email to