Skip to content

feat: add CosmosDB parser to monorepo#35

Merged
h3n4l merged 1 commit into
mainfrom
add-cosmosdb-parser
Nov 3, 2025
Merged

feat: add CosmosDB parser to monorepo#35
h3n4l merged 1 commit into
mainfrom
add-cosmosdb-parser

Conversation

@h3n4l
Copy link
Copy Markdown
Member

@h3n4l h3n4l commented Nov 3, 2025

Summary

  • Migrates the CosmosDB parser from standalone cosmosdb-parser repository
  • Adds test coverage with 5 SQL example files
  • Updates CI workflow to include cosmosdb in test matrix
  • All tests passing successfully

Changes

  • Added CosmosDB grammar files (CosmosDBLexer.g4, CosmosDBParser.g4)
  • Added 5 test examples covering various SQL statements
  • Created Makefile for building and testing the parser
  • Updated package names from parser to cosmosdb
  • Updated import paths to github.com/bytebase/parser/cosmosdb
  • Updated .github/workflows/tests.yml to include cosmosdb parser
  • Generated parser files using ANTLR 4 with Go target

Test plan

  • All 5 CosmosDB parser tests passing
  • Parser generation successful with ANTLR 4
  • CI workflow updated to include cosmosdb parser
  • Package names and imports updated correctly

🤖 Generated with Claude Code

This commit adds the CosmosDB parser from the standalone cosmosdb-parser repository into the unified parser monorepo.

Changes:
- Added CosmosDB grammar files (CosmosDBLexer.g4, CosmosDBParser.g4)
- Added test infrastructure with 5 example SQL files
- Created Makefile for building and testing the parser
- Updated package names from 'parser' to 'cosmosdb'
- Updated import paths to github.com/bytebase/parser/cosmosdb
- Updated CI workflow to include cosmosdb in the test matrix
- Generated parser files using ANTLR 4 with Go target
- All 5 tests passing successfully

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@h3n4l h3n4l merged commit 8b106e9 into main Nov 3, 2025
5 checks passed
@h3n4l h3n4l deleted the add-cosmosdb-parser branch November 3, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant