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

Array slicing support is incomplete

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • COMP - Compiler

    Description

      The syntax for array accesses is:

      PathExpression ::= PrimaryExpression ( Field | Index )*
      Field ::= "." Identifier
      Index ::= "[" Expression (":" ( Expression )? )? "]"

      It's Python-inspired but misses part of what you can do there, e.g., arr[5:] is supported but arr[:5] is not.

      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: