sqlload 0.67.0

SQL data loading tooling.
1
2
3
4
5
6
7
8
9
10
11
12
//! The rows a batch's Parquet footers record.

use crate::files_source::models::BatchFooters;

/// The rows the batch's footers record.
pub(in crate::adapters) fn footer_rows(footers: &BatchFooters) -> u64 {
    footers
        .parquet
        .values()
        .map(|footer| u64::try_from(footer.metadata().file_metadata().num_rows()).unwrap_or(0))
        .sum()
}