pub fn validate_with_options<P: AsRef<Path>>(
path: P,
options: ValidationOptions,
) -> Result<ValidationReport>Expand description
Validate an Acta file with an explicit level and resource limits.
Structural validation reads metadata and checks frame integrity without materializing logical columns. Full validation has the cost of decoding every complete block, including all stream transforms and codecs, and also verifies optional min/max statistics against the decoded values.
The two levels report identical ValidationReport values for any file
both accept. They do not accept exactly the same files: full validation
builds a Reader snapshot and so additionally enforces the limits that
only apply to a snapshot, notably Limits::max_blocks and the per-block
decode limits. A file with more blocks than that limit passes structural
validation and fails full validation with
ErrorKind::ResourceLimit; raise the
limit to validate it fully.