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

   When displaying `Value::SingleQuotedByteStringLiteral`, 
`Value::DoubleQuotedByteStringLiteral`, `Value::SingleQuotedRawStringLiteral`, 
or `Value::DoubleQuotedRawStringLiteral`, embedded quotes were not being 
escaped, causing queries like `SELECT B''''` to display as `SELECT B'''` and 
fail re-parsing during roundtrips.
   
   This change uses `escape_single_quote_string` and 
`escape_double_quote_string` for byte and raw string literals in `Value` 
display formatting.


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