You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/11 13:46:43 UTC

[GitHub] [arrow-rs] tustvold opened a new issue, #1536: Create RecordBatch With Non-Zero Row Count But No Columns

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

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


[GitHub] [arrow-rs] alamb closed issue #1536: Create RecordBatch With Non-Zero Row Count But No Columns

Posted by GitBox <gi...@apache.org>.
alamb closed issue #1536: Create RecordBatch With Non-Zero Row Count But No Columns
URL: https://github.com/apache/arrow-rs/issues/1536


-- 
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-unsubscribe@arrow.apache.org

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