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

Error parsing SQL

Open imotai opened this issue 2 years ago • 0 comments

Error when parsing the following SQL:

select t1.a[0] from t1

Error:

source_file [0, 0] - [2, 0])
  select_statement [0, 0] - [0, 22])
    select_clause [0, 0] - [0, 11])
      select_clause_body [0, 7] - [0, 11])
        dotted_name [0, 7] - [0, 11])
          identifier [0, 7] - [0, 9])
          identifier [0, 10] - [0, 11])
    ERROR [0, 11] - [0, 14])
    from_clause [0, 15] - [0, 22])
      identifier [0, 20] - [0, 22])

imotai avatar Jul 06 '22 15:07 imotai