/// Read parquet metadata from a parquet file.
Read parquet metadata from a parquet file.
Read parquet metadata from a parquet file .
pub fn read_parquet_metadata_from_file(data: Vec<u8>) -> Result<ParquetMetaData> {
    let cursor = SliceableCursor::new(data);
    let reader = SerializedFileReader::new(cursor).context(ParquetMetaDataRead {})?;
    Ok(reader.metadata().clone())
}
pub fn read_parquet_metadata_from_file ( data : Vec < u8 > ) -> Result < ParquetMetaData > { let cursor = SliceableCursor :: new ( data ) ; let reader = SerializedFileReader :: new ( cursor ) . context ( ParquetMetaDataRead { } ) ? ; Ok ( reader . metadata ( ) . clone ( ) ) }
Read parquet metadata from a parquet file.
Read parquet metadata from a parquet file .
data
Vec<u8>