Skip to content

Print GRANT clauses in the order the parser reads them - #2415

Open
LucaCappelletti94 wants to merge 1 commit into
apache:mainfrom
LucaCappelletti94:grant-print-clause-order
Open

Print GRANT clauses in the order the parser reads them#2415
LucaCappelletti94 wants to merge 1 commit into
apache:mainfrom
LucaCappelletti94:grant-print-clause-order

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Contributor

Display for Grant printed CURRENT GRANTS before WITH GRANT OPTION, but parse_grant reads them the other way round. For a statement carrying both, the printer therefore produced text the parser rejects.

Swapping the two blocks in the printer fixes it.

@LucaCappelletti94
LucaCappelletti94 marked this pull request as ready for review July 30, 2026 18:30
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.

1 participant