HuaHuaY opened a new issue, #55849:
URL: https://github.com/apache/arrow/issues/55849

   ### Describe the enhancement requested
   
   When reading a repeated field, `DelimitRecords()` scans the definition 
levels to count non-null values. On the spaced read path, `ReadFromDefLevels()` 
then visits the same levels to build the validity bitmap. It returns both the 
number of leaf slots and the number of nulls, so their difference already gives 
the non-null count.
   
   The spaced read path could use that result directly and avoid the separate 
counting pass. Dense reads and skips would still count non-null values to 
determine how many physical values to read or skip.
   
   ### Component(s)
   
   C++, Parquet


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