Skip to content
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

Add ignore comment option #330

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

shu1007
Copy link

@shu1007 shu1007 commented Nov 4, 2020

Hello. Nice to meet you.
The Parser is a good one, but I'm having a bit of trouble with it. You can parse SQL with comments, but there is an error when generating SQL from a parsed SQL containing comments.
The generated SQL is a single row, so generating it with comments can be tricky.
So I added a new parse option called ignore_comment. If you set it to true, the comments will be ignored and parsed.
Please check the change by all means.

@greenlion
Copy link
Owner

I will check it out after Thanksgiving and merge the PR. Thanks!!

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.

None yet

3 participants