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

DELETE command not working with exact content from test data. #70

Open
alexkreidler opened this issue Dec 12, 2022 · 0 comments
Open

DELETE command not working with exact content from test data. #70

alexkreidler opened this issue Dec 12, 2022 · 0 comments

Comments

@alexkreidler
Copy link

The test corpus has this example.
But I got an error when parsing the following SQL:

DELETE FROM foo;
DELETE FROM foo WHERE name = 'bar';

Error:

source_file [0, 0] - [2, 0])
  ERROR [0, 0] - [1, 35])
    ERROR [0, 12] - [0, 15])
    ERROR [1, 12] - [1, 15])
    ERROR [1, 22] - [1, 26])
    ERROR [1, 30] - [1, 33])
panekj pushed a commit to panekj/tree-sitter-sql that referenced this issue Jun 21, 2024
* Add `create unlogged table`

* Add: `create table as select`

* include generated files

* Add `create table ... on commit`

* fix: either `table_definition` or `as select`

* add autogenerated files

* create as select with two choices

* removed `on commit` for now

* Default values in Column Definitions (m-novikov#73)

* Add: column definitions with default values

* Add more options to default expressions

* update _column_constraints

* include generated files

* bump generated files

* update parser.c after rebase
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