LucaCappelletti94 opened a new pull request, #2416:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2416

   `Display` for `Grantee` wrote the grantee type keyword with a trailing space 
baked in, then appended the name. `PUBLIC` is the only grantee type the parser 
ever builds without a name, so for it the space had nothing to follow it and 
`GRANT SELECT ON t TO PUBLIC ` printed with a trailing space, which does not 
match the input it was parsed from.
   
   The separator now belongs to the name rather than the keyword, so it is only 
written when a name follows.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to