Closed alanoliveira closed 5 months ago
I think SET STATISTICS
is not implemented yet. I can take a deeper look this evening. See https://github.com/DerekStride/tree-sitter-sql/blob/70ba8a5dd00c1229069684ea80d56035e75691a5/grammar.js#L1700
In your second tree, you still have an ERROR
at the beginning.
I see, yes that is right the SET STATISTICS
is not implemented yet.
Are you sure that the syntax in your first query is correct?
The documentation says, that there is no =
between STATISTICS
and the integer.
https://www.postgresql.org/docs/current/sql-altertable.html
omg, my bad sorry
The above snippet is generating the following tree
The expected is after the
;
'closes' the error statement and start a new one. If we replace the column name on select statement to*
it works fine: