Skip to main content

is_promotable

Function is_promotable 

Source
pub fn is_promotable(
    inputs: &[&PartitionFreshnessRow],
    max_nb_objects: i64,
    max_bytes: i64,
) -> bool
Expand description

Whether inputs are worth merging: at least two of them, within the object cap and the byte cap on their summed file_size, all written with the same file schema.