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

[FORMATTING] grant formatting issues #597

Open
innermatrix opened this issue May 10, 2023 · 1 comment
Open

[FORMATTING] grant formatting issues #597

innermatrix opened this issue May 10, 2023 · 1 comment
Labels

Comments

@innermatrix
Copy link

innermatrix commented May 10, 2023

Input data

Which SQL and options did you provide as input?

grant select on t to r;

grant select, insert, update, delete on t to r;

Expected Output

grant select on t to r;

grant select, insert, update, delete on t to r;

Actual Output

grant
select
	on t to r;

grant
select
,
	insert,
update,
delete on t to r;

Usage

  • How are you calling / using the library? npx sql-formatter -l postgresql file.sql
  • What SQL language(s) does this apply to? postgres
  • Which SQL Formatter version are you using? 12.2.0
@nene
Copy link
Collaborator

nene commented May 10, 2023

Thanks for reporting.

Unfortunately this is another issue that's unlikely to get fixed with the current formatter architecture.

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

No branches or pull requests

2 participants