pub fn write_metadata_sidecar<W>(
    writer: &mut W,
    metadata: &FileMetaData
) -> Result<u64, Error> where
    W: Write
Available on crate feature io_parquet only.
Expand description

Writes a parquet file containing only the header and footer

This is used to write the metadata as a separate Parquet file, usually when data is partitioned across multiple files.

Note: Recall that when combining row groups from ThriftFileMetaData, the file_path on each of their column chunks must be updated with their path relative to where they are written to.