Skip to content

Commit e845353

Browse files
h3n4lclaude
andauthored
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

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

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
id: set-matrix
3535
run: |
3636
# List of all available parsers
37-
ALL_PARSERS="redshift postgresql cql snowflake tsql doris trino plsql"
37+
ALL_PARSERS="redshift postgresql cql snowflake tsql doris trino plsql googlesql"
3838
# Add more parsers here as they are added to the repository
3939
# ALL_PARSERS="redshift mysql postgresql"
4040

0 commit comments

Comments
 (0)