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

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   Certain queries may only be interested in the number of rows, and not any 
actual column data. In theory this could be handled as a projection pushdown 
that selects no columns, but currently there is no way to create a RecordBatch 
with no columns and a non-zero row count and so this doesn't work.
   
   **Describe the solution you'd like**
   
   I would like `RecordBatch` to store the `row_count` as a struct member, and 
allow this to be specified in `RecordBatchOptions` 
   
   **Describe alternatives you've considered**
   
   We could not make this change
   
   **Additional context**
   
   This problem can also arise when using Hive style partitioning, where the 
underlying file data may not contain all columns - 
https://github.com/apache/arrow-datafusion/pull/2000
   


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