alamb opened a new pull request #1506:
URL: https://github.com/apache/arrow-rs/pull/1506


   # Which issue does this PR close?
   Closes https://github.com/apache/arrow-rs/issues/1505
   
   # Rationale for this change
    
   I was doing some small cleanups in DataFusion 
https://github.com/apache/arrow-datafusion/pull/2107 and noticed that the 
DecimalArray iterators do not report their exact size. The exact size is used 
in several places for optimizations in Arrow
   
   
   # What changes are included in this PR?
   1. Implement size_hint and ExactSizedIterator for DecimalArray
   2. Tests for same
   
   <!---
   There is no need to duplicate the description in the issue here but it is 
sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   # Are there any user-facing changes?
   
   Can use DecimalArray::iter() in more situations
   


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to