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

   This PR escapes single quotes when formatting `Value::HexStringLiteral` 
using `escape_single_quote_string`, matching how standard string literals are 
displayed and ensuring valid SQL roundtrips.
   
   ```sql
   SELECT X'ab''cd';
   -- Formatted as: SELECT X'ab'cd'
   -- Re-parse error: Expected end of statement, found: cd
   ```


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