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

Extra Whitespaces in SQL format #1046

Closed
tomirons opened this issue Apr 8, 2021 · 3 comments · Fixed by #1050
Closed

Extra Whitespaces in SQL format #1046

tomirons opened this issue Apr 8, 2021 · 3 comments · Fixed by #1050
Labels

Comments

@tomirons
Copy link
Contributor

tomirons commented Apr 8, 2021

@driesvints with the update to sql-formatter there are now whitespaces where they shouldn't be. You can fix this by setting the language on the formatter to mysql but I'm not sure how it would act with a postgres database.

Here is the new output:

select
  *
from
  ` database `.` table `
where
  ` database `.` table `.` column ` = 1
limit
  1

Originally posted by @tomirons in #1039 (comment)

@driesvints
Copy link
Member

Escalated to sql-formatter. Next time please fill out the issue template.

sql-formatter-org/sql-formatter#139

@tomirons
Copy link
Contributor Author

tomirons commented Apr 9, 2021

@driesvints my apologies, I created it straight from the comment I made on the related pull request. I'll be sure to use the template next time.

@driesvints
Copy link
Member

I've temporarily downgraded sql-formatter to fix the issue: #1050

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants