polars_parquet_format::thrift::protocol

Function verify_expected_sequence_number

Source
pub fn verify_expected_sequence_number(expected: i32, actual: i32) -> Result<()>
Expand description

Compare the expected message sequence number expected with the received message sequence number actual.

Return () if actual == expected, Err otherwise.