clp
clp copied to clipboard
clp-s: Add boilerplate for new sql parser
Description
This PR adds boilerplate for the new sql parser. This includes a stubbed out g4 grammar and visitor, as well as a basic unit test that tells us that the whole thing compiles and runs.
Validation performed
- validated that unit test linking against sql parser library builds and runs successfully
Summary by CodeRabbit
-
New Features
- Introduced SQL parsing capabilities with a new SQL parser and grammar.
- Added a
LogSuppressor
class to manage logging during tests. - Implemented unit tests for SQL parsing functionality, including handling edge cases.
-
Bug Fixes
- Enhanced error handling in SQL parsing to ensure proper logging and feedback.