Hussain Towaileb created ASTERIXDB-2757:
-------------------------------------------
Summary: Character classes unclosed properly causes the query to
fail
Key: ASTERIXDB-2757
URL: https://issues.apache.org/jira/browse/ASTERIXDB-2757
Project: Apache AsterixDB
Issue Type: Improvement
Components: EXT - External data
Affects Versions: 0.9.5
Reporter: Hussain Towaileb
Assignee: Hussain Towaileb
Fix For: 0.9.5
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)