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