[
https://issues.apache.org/jira/browse/PHOENIX-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13998432#comment-13998432
]
James Taylor commented on PHOENIX-952:
--------------------------------------
Thanks, [~ram_krish]. I think it'd be simpler and more efficient to just add
your ArrayAnyFunction built-in with the looping logic from
ComparisonExpressionWithArrayAnyExpression? You can likely refactor the last
5-6 lines of ComparisonExpression.evaluate into a helper function to reduce
copy/paste.
> 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
> Fix For: 3.1, 4.1
>
> Attachments: Phoenix-932_1.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)