Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-2817

IndexOutOfBoundsException in get_object_fields()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.3
    • 0.9.7
    • FUN - Functions
    • None

    Description

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

      SELECT VALUE f.`field-name`FROM `Metadata`.`Dataset` d, get_object_fields(d) f
      

      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.

      Attachments

        Activity

          People

            alsuliman Ali Alsuliman
            alsuliman Ali Alsuliman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: