You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting. This is similar to #302 and #732.
One one hand this is really a fundamental problem with SQL Formatter that can't be easily fixed. (I could remove MATCH from list of keywords and then we'd have the opposite problem).
On another hand, you would be better off not using the default language:"sql". If possible choose the value that matches the SQL dialect you're actually using, like language: "postgresql". That other dialect might or might not have MATCH in its list of keywords.
FYI, there are no uppercase and indent options in latest SQL Formatter. You're either using some old version or some other tool altogether.
nene
changed the title
[FORMATTING] column name "match" is converted to uppercase.
Identifiers (with same name as some keywords) get converted to uppercase
Oct 26, 2024
nene
changed the title
Identifiers (with same name as some keywords) get converted to uppercase
Some identifiers get converted to uppercase with keywordCase:upper
Oct 26, 2024
Input data
Which SQL and options did you provide as input?
Expected Output
Actual Output
Usage
15.3.1
The text was updated successfully, but these errors were encountered: