(
limit_num_rows: &mut Precision<usize>,
summary_statistics: &mut Statistics,
file_stats: &Statistics,
collect_stats: bool,
)
| 346 | } |
| 347 | |
| 348 | fn merge_file_statistics( |
| 349 | limit_num_rows: &mut Precision<usize>, |
| 350 | summary_statistics: &mut Statistics, |
| 351 | file_stats: &Statistics, |
| 352 | collect_stats: bool, |
| 353 | ) { |
| 354 | *limit_num_rows = limit_num_rows.add(&file_stats.num_rows); |
| 355 | |
| 356 | if collect_stats { |
| 357 | merge_summary_statistics(summary_statistics, file_stats); |
| 358 | } |
| 359 | } |
| 360 | |
| 361 | /// Get all files as well as the file level summary statistics (no statistic for partition columns). |
| 362 | /// If the optional `limit` is provided, includes only sufficient files. Needed to read up to |
no test coverage detected
searching dependent graphs…