You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/11/11 05:54:00 UTC

[jira] [Commented] (ASTERIXDB-2658) Add support for ARRAY_EXCEPT() function

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

ASF subversion and git services commented on ASTERIXDB-2658:
------------------------------------------------------------

Commit e33f6e31ad562911d2db57fe453d6c3967df15e0 in asterixdb's branch refs/heads/master from Hussain Towaileb
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=e33f6e3 ]

[ASTERIXDB-2658][FUN] Add support for array_except() function

- user model changes: yes
- storage format changes: no
- interface changes: no

Details:
- Added array_except function.
- Added test cases for array_except() function.

Change-Id: I7c1befeffdb0f651afab31a4e814842a67d3a54c
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/3743
Contrib: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <al...@gmail.com>


> Add support for ARRAY_EXCEPT() function
> ---------------------------------------
>
>                 Key: ASTERIXDB-2658
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2658
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>          Components: FUN - Functions
>    Affects Versions: 0.9.4.1
>            Reporter: Hussain Towaileb
>            Assignee: Hussain Towaileb
>            Priority: Major
>             Fix For: 0.9.5
>
>
> array_except takes 2 arguments, both arguments being arrays, and returns all the items in the first array minus the items in the second array.
>  
> Example:
> {code:java}
> array_except([1, 2, 3, 4], [2, 3]) -> [1, 4]
> array_except([1, "2", "3"], ["2", 3]) -> [1, "3"]{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)