Dandandan commented on code in PR #11828:
URL: https://github.com/apache/datafusion/pull/11828#discussion_r1715204924


##########
datafusion/core/src/datasource/statistics.rs:
##########
@@ -91,10 +91,10 @@ pub async fn get_statistics_with_limit(
                 // counts across all the files in question. If any file does 
not
                 // provide any information or provides an inexact value, we 
demote
                 // the statistic precision to inexact.
-                num_rows = add_row_stats(file_stats.num_rows.clone(), 
num_rows);
+                num_rows = add_row_stats(&file_stats.num_rows, &num_rows);

Review Comment:
   Nice 👌 



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to