Dandandan commented on a change in pull request #965:
URL: https://github.com/apache/arrow-datafusion/pull/965#discussion_r705524845



##########
File path: datafusion/src/datasource/mod.rs
##########
@@ -193,9 +192,13 @@ pub fn get_statistics_with_limit(
 
     let mut num_rows = 0;
     let mut num_files = 0;
+    let mut is_exact = true;
     for file in &all_files {
         num_files += 1;
         let file_stats = &file.statistics;
+        if !file_stats.is_exact {

Review comment:
       ```suggestion
           is_exact &= file_stats.is_exact;
   ```




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