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 2021/12/18 05:39:09 UTC

[GitHub] [arrow-datafusion] Ted-Jiang opened a new issue #1462: fix calculate total_rows in many_to_many_hash_partition

Ted-Jiang opened a new issue #1462:
URL: https://github.com/apache/arrow-datafusion/issues/1462


   **Describe the bug**
   
   `        let total_rows: usize = output_partitions.iter().map(|x| x.len()).sum();
   `
   is sum the total RecordBatch number.
   
   For now empty RecordBatch will send to next plan so the total_RecordBatch equals total_rows
   **To Reproduce**
   https://github.com/apache/arrow-datafusion/pull/1459
   **Expected behavior**
   `let total_rows: usize = output_partitions
               .iter()
               .map(|x| x.into_iter().map(|x| x.num_rows()).sum::<usize>())
               .sum();`
   is sum the total row number
   


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



[GitHub] [arrow-datafusion] Dandandan commented on issue #1462: fix calculate total_rows in many_to_many_hash_partition

Posted by GitBox <gi...@apache.org>.
Dandandan commented on issue #1462:
URL: https://github.com/apache/arrow-datafusion/issues/1462#issuecomment-997211951


   Closed by #1463 


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



[GitHub] [arrow-datafusion] Dandandan closed issue #1462: fix calculate total_rows in many_to_many_hash_partition

Posted by GitBox <gi...@apache.org>.
Dandandan closed issue #1462:
URL: https://github.com/apache/arrow-datafusion/issues/1462


   


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