getChan commented on issue #24788:
URL: https://github.com/apache/datafusion/issues/24788#issuecomment-5467256014

   After reviewing the prior discussion in #7344 and the implementation attempt 
in #7350, I found that the current behavior was an intentional design choice: 
binary inputs are coerced to UTF-8 for `character_length`, while byte-length 
semantics are expected to be handled separately by functions such as 
`octet_length`. The earlier discussion also considered keeping 
`character_length` text-only and distinguishing it from binary length 
operations. Closing this issue in favor of that existing design discussion.


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