-
Notifications
You must be signed in to change notification settings - Fork 25
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
Parse "NOW()" like any other function #102
Conversation
@derrabus can I please have your review here? |
Do we know why |
Based on git history this was introduced in jdorn/sql-formatter@e1aa999 and the PR title refers to jdorn/sql-formatter#47. I guess this was added for MySQL to format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me.
Can you please rebase? Our CI has changed significantly in 1.4. |
Rebased but it seems you have to approve the CI again. Can you approve it for me for all (future) pushes to this repo/org? |
No. You need to have contributed successfully to this repo at least once. Then, GitHub won't ask for workflow approvals anymore. |
… which should be the case now. Try to rebase your other PRs and they should trigger the CI instantly. |
Thank you! |
now()
should not be parsed as one token, especially as it can benow( )
ornow(6)
.It should be parsed/formatted like any other (3 letter) function like
xyz()
.