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

   `CREATE FUNCTION f("Role" TEXT)` parsed the argument name into an `Ident` 
whose value still carried the quote characters, with `quote_style: None`. 
`"we""ird"` came back as `"we"ird"`.
   
   Both argument readers rebuilt the name from the token's text with 
`Ident::new(token.to_string())`. They now use `word.into_ident(token.span)`, 
like `parse_identifier` does, which keeps the quote style and the span.


-- 
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