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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to