Commit e845353
feat: add GoogleSQL parser to monorepo (#29)
This commit adds the GoogleSQL (BigQuery) parser from the standalone google-sql-parser repository into the unified parser monorepo.
Changes:
- Added GoogleSQL grammar files (GoogleSQLLexer.g4, GoogleSQLParser.g4)
- Added test infrastructure with 72 example SQL files (including TPC-H queries and ZetaSQL test data)
- Created Makefile for building and testing the parser
- Updated package names from 'parser' to 'googlesql'
- Updated import paths to github.com/bytebase/parser/googlesql
- Updated CI workflow to include googlesql in the test matrix
- Generated parser files using ANTLR 4 with Go target
- All 72 tests passing successfully
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <[email protected]>1 parent f427489 commit e845353
File tree
84 files changed
+149827
-1
lines changed- .github/workflows
- googlesql
- examples
- zetasql
- examples/tpch
- parser/testdata
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
84 files changed
+149827
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments