You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Michael J. Carey (Jira)" <ji...@apache.org> on 2019/11/06 05:41:00 UTC

[jira] [Commented] (ASTERIXDB-2671) Removing multiple attributes with OBJECT_REMOVE() throws an error

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

Michael J. Carey commented on ASTERIXDB-2671:
---------------------------------------------

For extra credit it might be nice to look at / consolidate this family of functions?  (OBJECT_REMOVE_FIELDS is another one, etc.)

> Removing multiple attributes with OBJECT_REMOVE() throws an error
> -----------------------------------------------------------------
>
>                 Key: ASTERIXDB-2671
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2671
>             Project: Apache AsterixDB
>          Issue Type: Bug
>    Affects Versions: 0.9.5
>            Reporter: Gift Sinthong
>            Assignee: Ali Alsuliman
>            Priority: Major
>
> Trying to remove multiple attributes by chaining multiple OBJECT_REMOVE() throws a NullPointerException Error.
> The query: 
> SELECT VALUE OBJECT_REMOVE( OBJECT_REMOVE(t, "authorId"), "message") FROM GleambookMessages t;
> I used the datasets and data types provided in the AsterixDB 101 guide.



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