Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing SQL #77

Open
alex4o opened this issue Jul 23, 2023 · 0 comments
Open

Error parsing SQL #77

alex4o opened this issue Jul 23, 2023 · 0 comments

Comments

@alex4o
Copy link

alex4o commented Jul 23, 2023

Error when parsing the following SQL:

select * from "users" where "id" = 5 LIMIT 5;

Error:

source_file [0, 0] - [1, 0])
  select_statement [0, 0] - [0, 36])
    select_clause [0, 0] - [0, 8])
      select_clause_body [0, 7] - [0, 8])
        asterisk_expression [0, 7] - [0, 8])
    from_clause [0, 9] - [0, 21])
      identifier [0, 15] - [0, 20])
    where_clause [0, 22] - [0, 36])
      comparison_operator [0, 28] - [0, 36])
        identifier [0, 29] - [0, 31])
        number [0, 35] - [0, 36])
  ERROR [0, 37] - [0, 44])
    ERROR [0, 37] - [0, 42])
panekj pushed a commit to panekj/tree-sitter-sql that referenced this issue Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant