tustvold commented on issue #7344:
URL: 
https://github.com/apache/arrow-datafusion/issues/7344#issuecomment-1689862257

   I personally find the notion of a function called character_length operating 
on binary data somewhat perverse, binary data by definition doesn't have a 
notion of a character.
   
   Perhaps we could have a character length function that operates on strings, 
and a separate length kernel that returns the number of bytes - i.e. 
https://docs.rs/arrow-string/latest/arrow_string/length/fn.length.html ? A 
brief google search suggests this notion is normally called OCTET_LENGTH.
   
   This would be consistent with postgres
   
   


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

Reply via email to