pub fn compression_supported(
format: FormatType,
compression: CompressionType,
) -> boolExpand description
Whether format actually encodes compression on write.
Only Parquet has a compression encoder (see crate::format::parquet); the
CSV writer (crate::format::csv) ignores the codec entirely. Accepting a
non-None codec for CSV would be a silent no-op — the file stays
uncompressed while the run manifest records the codec — so config validation
rejects that combination up-front (Finding #10). None is always supported
(it means “do not compress”).