fn enforce_max_output_size(
inputs: Vec<Vec<FileHandle>>,
max_output_file_size: u64,
) -> Vec<Vec<FileHandle>>
Expand description
Limits the size of compaction output in a naive manner. todo(hl): we can find the output file size more precisely by checking the time range of each row group and adding the sizes of those non-overlapping row groups. But now we’d better not to expose the SST details in this level.