Skip to main content

merged

Function merged 

Source
pub fn merged(
    open: &[Note],
    dataset: &[Note],
    view: &[Note],
    schema: Option<&DatasetSchema>,
) -> Vec<Note>
Expand description

Every note the panel shows — what the open did, what the footers said, then what the view leaves out — with the one fact the first two both report said once.

A directory of mixed formats read as its commonest is reported by the open (“read as the commonest; 1 csv not read”), and then the footer pass walks the same directory and counts the same files among what it passed (“in the directory, 1 file is not Parquet”). The open’s sentence names the formats and says why they are not in the table, so it is the one kept; the footer note is rebuilt with those files taken back out, which keeps every skip only the walk can see — a stray in a partition below the top level, a name no reader claims, an empty object, a writer’s bookkeeping. The two tallies never meet anywhere else: the open’s is settled before a footer is read, and the walk’s arrives with the dataset, so the caller that holds both halves hands them here.