tree-sitter-sql icon indicating copy to clipboard operation
tree-sitter-sql copied to clipboard

Is a plan to support "map_element_access"

Open imotai opened this issue 2 years ago • 0 comments

Error when parsing the following SQL:

select t1.a['b'] from t1;

Error:

source_file [0, 0] - [1, 0])
  select_statement [0, 0] - [0, 24])
    select_clause [0, 0] - [0, 15])
      ERROR [0, 7] - [0, 12])
        dotted_name [0, 7] - [0, 11])
          identifier [0, 7] - [0, 9])
          identifier [0, 10] - [0, 11])
      select_clause_body [0, 12] - [0, 15])
        string [0, 12] - [0, 15])
    ERROR [0, 15] - [0, 16])
    from_clause [0, 17] - [0, 24])
      identifier [0, 22] - [0, 24])

imotai avatar Jul 06 '22 08:07 imotai