Kwafoor commented on PR #41535:
URL: https://github.com/apache/spark/pull/41535#issuecomment-1585437073

   > I'm not sure this is correct. SQL TRIM from other DBs seems to default to 
removing _whitespace_ or the space char, not control codes.
   
   I conducted tests on both MySQL and Hive, and found that Hive supports 
trimming control characters and spaces but does not support trimming characters 
within the range 0x7F to 0x9F. MySQL, on the other hand, supports trimming 
specific control characters.
   <img width="397" alt="image" 
src="https://github.com/apache/spark/assets/25627922/3777b4e6-6b2a-4ec2-a87e-55e9439736b8";>
   
   


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