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

Character classes unclosed properly causes the query to fail

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.5
    • 0.9.5
    • EXT - External data
    • None

    Description

      In some case, for example, providing a pattern such as [a-b0-9.* without properly closing the bracket, would result in a failure that the provided pattern is invalid. However, this is a valid pattern, in the above case, the open (unclosed) bracket should be escaped as this is a literal and not a character class case.

       

      Such cases should be handled properly, as the above could be a valid file name that is [a-b0-9.json for example.

      Attachments

        Activity

          People

            HussainHT Hussain Towaileb
            HussainHT Hussain Towaileb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: