silence-coding commented on a change in pull request #2113:
URL: https://github.com/apache/arrow-datafusion/pull/2113#discussion_r837146307



##########
File path: datafusion/core/src/physical_plan/file_format/parquet.rs
##########
@@ -503,8 +503,9 @@ fn read_partition(
                     let proj_batch = partition_column_projector
                         .project(adapted_batch, 
&partitioned_file.partition_values);
 
-                    send_result(&response_tx, proj_batch)?;
-                    if limit.map(|l| total_rows >= l).unwrap_or(false) {
+                    let send_rt = send_result(&response_tx, proj_batch);

Review comment:
       When both the where statement and the limit statement are used, the 
value of the limit is None. As a result, the normal limit statement also 
triggers the channel close error.




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