[
https://issues.apache.org/jira/browse/ASTERIXDB-2817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17251946#comment-17251946
]
ASF subversion and git services commented on ASTERIXDB-2817:
------------------------------------------------------------
Commit f4ae454e111e7d8b552c63116a6545ca1b5aba98 in asterixdb's branch
refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=f4ae454 ]
[ASTERIXDB-2817][FUN] Fix IndexOutOfBoundsException in get_object_fields()
- user model changes: no
- storage format changes: no
- interface changes: no
Details:
- Fix IndexOutOfBoundsException in get_object_fields()
- Add test case
- Enable some test case
Change-Id: I8966a8a66ba8b0e50ad34cbec40a511769dc801d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/9283
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Ali Alsuliman <[email protected]>
Reviewed-by: Dmitry Lychagin <[email protected]>
> IndexOutOfBoundsException in get_object_fields()
> ------------------------------------------------
>
> Key: ASTERIXDB-2817
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2817
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: FUN - Functions
> Affects Versions: 0.9.3
> Reporter: Ali Alsuliman
> Assignee: Ali Alsuliman
> Priority: Major
> Fix For: 0.9.7
>
>
> The below query fails with an index out of bounds exception due to some
> schema fields being missing. Those fields are usually complex fields
> (objects, arrays, multisets).
> {code:java}
> SELECT VALUE f.`field-name`FROM `Metadata`.`Dataset` d, get_object_fields(d) f
> {code}
> Also, the test objects/get-object-fields/tiny-social-example (which is
> disabled currently) fails with an index out of bounds exception, but for
> another reason.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)