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:50:00 UTC

[GitHub] [arrow-rs] tustvold opened a new issue, #1537: Support Empty Column Projection in ParquetRecordBatchReader

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

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   
   If an empty array is passed to `ArrowReader::get_record_reader_by_columns` it returns an error.
   
   **Describe the solution you'd like**
   
   It would be advantageous to support an empty projection within ParquetRecordBatchReader, and instead use file metadata to return the requisite number of rows. This will need the ability to create a RecordBatch with no columns and a non-zero row count #1536 
   
   **Describe alternatives you've considered**
   
   We could not add this functionality
   
   **Additional context**
   
   This would simplify the implementation of Hive based partitioning, amongst other things - 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 #1537: Support Empty Column Projection in ParquetRecordBatchReader

Posted by GitBox <gi...@apache.org>.
alamb closed issue #1537: Support Empty Column Projection in ParquetRecordBatchReader
URL: https://github.com/apache/arrow-rs/issues/1537


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