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 2023/04/17 18:02:00 UTC
[jira] [Commented] (ASTERIXDB-3166) Internal error with get_object_fields function when dataset has open list type
[ https://issues.apache.org/jira/browse/ASTERIXDB-3166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17713238#comment-17713238 ]
ASF subversion and git services commented on ASTERIXDB-3166:
------------------------------------------------------------
Commit bacbacbfe77fdd7e3a1e8225834826cb0b6d97c7 in asterixdb's branch refs/heads/master from Peeyush Gupta
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=bacbacbfe7 ]
[ASTERIXDB-3166][FUN] Error with get_object_fields with open list type
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
get_object_fields function causes null pointer exception when used
on a dataset containing an open list type.
Change-Id: Ie413d286738f571df81e2f450a3fb0b132dc5521
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17488
Reviewed-by: Peeyush Gupta <pe...@couchbase.com>
Reviewed-by: Ali Alsuliman <al...@gmail.com>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
> Internal error with get_object_fields function when dataset has open list type
> ------------------------------------------------------------------------------
>
> Key: ASTERIXDB-3166
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-3166
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: *DB - AsterixDB
> Affects Versions: 0.9.9
> Reporter: Peeyush Gupta
> Priority: Major
>
> Steps to reproduce the error.
> {code:java}
> CREATE TYPE userType AS { id: string};
> CREATE DATASET users(userType) PRIMARY KEY id;
> UPSERT INTO users([{"id": "abcd", "some_list":["a","b"]}]);
> // Internal error
> SELECT get_object_fields(d) FROM users d {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)