[ https://issues.apache.org/jira/browse/ASTERIXDB-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971317#comment-16971317 ]
ASF subversion and git services commented on ASTERIXDB-2671: ------------------------------------------------------------ Commit 7ea645aa9a03dcef7bca00c12a6fe726cb297e1d in asterixdb's branch refs/heads/master from Ali Alsuliman [ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=7ea645a ] [ASTERIXDB-2671][FUN] Fix handling nullable inputs in OBJECT_*() - user model changes: no - storage format changes: no - interface changes: no Details: The input record to OBJECT_*() functions can be nullable/missable record. - fixed the type inferrer to take care of that when inferring the input record type. Change-Id: Ic7e86598eda03f5aeb3c0e4457127c99bdbed0e4 Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/4123 Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Reviewed-by: Ali Alsuliman <ali.al.solai...@gmail.com> Reviewed-by: Dmitry Lychagin <dmitry.lycha...@couchbase.com> > 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)