Jefffrey opened a new issue, #9349:
URL: https://github.com/apache/arrow-rs/issues/9349

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for 
this feature, in addition to  the *what*)
   -->
   
   
https://github.com/apache/arrow-rs/blob/7291147175a11a4748d9ea5a06ea42807bf36e3c/arrow-string/src/length.rs#L111-L131
   
   The `bit_length` kernel documentation states it is only for strings, and the 
way it calculates bit length for lists assumes each element in a list = 1 byte. 
I think this may have been a mistake, and we should remove this handling for 
clarity.
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   Remove support for `List` types in `bit_length` kernel.
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   Keep this behaviour since it's been like this for a while now and might be 
considered breaking behaviour change
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   
   Seems it was introduced by
   
   - https://github.com/apache/arrow-rs/pull/4718
   


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