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

ramkrishna.s.vasudevan commented on PHOENIX-952:
------------------------------------------------

{code}
boolean_expression returns [ParseNode ret]
    :   l=value_expression ((EQ (r=value_expression | ((all=ALL | any=ANY) 
LPAREN r=value_expression RPAREN)) {$ret = factory.equal(l,r, all != null, any 
!= null); } )
                  |  ...
{code}
I tried this but stopped this approach because I felt it is going touch all the 
other rules also.  Let me try this once again or will go ahead with the above 
approach 
https://issues.apache.org/jira/browse/PHOENIX-952?focusedCommentId=14008978&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14008978
 based on what I had done already.

> Support ANY and ALL built-ins for ARRAYs
> ----------------------------------------
>
>                 Key: PHOENIX-952
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-952
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 4.0.0
>            Reporter: James Taylor
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 3.1, 4.1
>
>         Attachments: Phoenix-932_1.patch, Phoenix-932_2.patch
>
>
> There's currently no good way to search array elements. We should support the 
> ANY and ALL built-ins for our ARRAY type like Postgres does: 
> http://www.postgresql.org/docs/9.1/static/arrays.html#ARRAYS-SEARCHING



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to