Skip to main content

read_archive

Function read_archive 

Source
pub fn read_archive(reader: &SerializedFileReader<File>) -> Result<Archive>
Expand description

Reads every row and the key-value metadata of an archived file.

Row groups are concatenated in order. A file without key-value metadata gives an empty metadata list.

§Arguments

  • reader - Open reader for the file.

§Errors

Returns an error if the columns are not exactly timestamp_unix_ns and value, if a row group cannot be read, or if a row group’s timestamp count, value count and row count disagree.