-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix TSqlParser.g4 to Support OpenQuery Format for Table Names #4421
base: master
Are you sure you want to change the base?
Conversation
Please add the test to the examples/ directory. Every change to a grammar must have proof that the problem is fixed via the Github Actions tests for this repo. |
This change does not work. It does not parse the example you provide.
|
OK! I have now added the test file.
This modification works normally with me, and the version of the antlr plugin I am using is 1.23.1. Is there a problem with the plugin? |
My mistake. I was on the wrong branch. Reviewing now. |
OK!Waiting for your answer. |
Affected File:
The parser now correctly processes queries in the OPENQUERY format, ensuring smooth parsing of remote queries in SQL Server.

Test Sql: