Skip to main content

check_format

Function check_format 

Source
fn check_format(path: &Path, declared: Option<&str>) -> Result<()>
Expand description

Decide whether this binary is allowed to read a block declaring declared as its FORMAT_KEY.

Refusing the future is the whole job: a newer block read as the current format would not fail, it would answer wrongly, because the readers that go through a table by column position cannot tell a shifted column from the one they wanted.