Skip to content
Discussion options

You must be logged in to vote

Hello this is the author.
This project doesn't have perfect support for latest GoogleSQL version (including beta features), but it covers a lot of syntax.
If you want perfect AST parser, it is better to use ZetaSQL(https://github.com/google/zetasql). (Supported by Google)

You could get parsed AST results demo as examples, or find test cases in https://github.com/takegue/tree-sitter-sql-bigquery/tree/main/test/corpus. Given unparseable SQL, this outputs syntax tree including ERROR node.
If you find some errors, plz tell me via issues :)

Thank you.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by takegue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants