https://github.com/bytebase/google-sql-parser
Google SQL parser based on ANTLR4.
https://github.com/bytebase/google-sql-parser
Last synced: 2 months ago
JSON representation
Google SQL parser based on ANTLR4.
- Host: GitHub
- URL: https://github.com/bytebase/google-sql-parser
- Owner: bytebase
- Created: 2024-09-24T07:35:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-16T03:27:37.000Z (12 months ago)
- Last Synced: 2025-02-16T17:56:38.186Z (11 months ago)
- Language: ANTLR
- Size: 8.3 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# google-sql-parser
Google SQL parser based on ANTLR4.
## Usage
### Build
```shell
make build
```
### Test
```shell
make test
```
## References
- [Query Syntax](https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax), is the reference for the query(SELECT) syntax.
- [zetasql Yacc parser](https://github.com/google/zetasql/blob/master/zetasql/parser/bison_parser.y), is the reference for the syntax detail missing in the document like expression.