Function decode_footer

Source
pub fn decode_footer(slice: &[u8; 8]) -> Result<usize>
πŸ‘ŽDeprecated since 53.1.0: Use ParquetMetaDataReader::decode_footer
Expand description

Decodes the Parquet footer returning the metadata length in bytes

A parquet footer is 8 bytes long and has the following layout:

  • 4 bytes for the metadata length
  • 4 bytes for the magic bytes β€˜PAR1’
+-----+--------+
| len | 'PAR1' |
+-----+--------+