Ali Alsuliman created ASTERIXDB-2817:
----------------------------------------
Summary: 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
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)