pub fn new(parquet_file_with_metadata: ParquetFileWithMetadata) -> Self {
        let (parquet_file, parquet_metadata) = parquet_file_with_metadata.split_off_metadata();
        let parquet_metadata = Arc::new(IoxParquetMetaData::from_thrift_bytes(parquet_metadata));
        let decoded_metadata = parquet_metadata.decode().expect("parquet metadata broken");
        let iox_metadata = decoded_metadata
            .read_iox_metadata_new()
            .expect("cannot read IOx metadata from parquet MD");

        Self {
            parquet_file,
            parquet_metadata,
            decoded_metadata,
            iox_metadata,
        }
    }
/// initialise a [`DecodedParquetFile`] from the provided file & metadata.
initialise a [`DecodedParquetFile`] from the provided file & metadata.
initialise a [ ` DecodedParquetFile ` ] from the provided file & metadata .
pub fn new(parquet_file_with_metadata: ParquetFileWithMetadata) -> Self {
        let (parquet_file, parquet_metadata) = parquet_file_with_metadata.split_off_metadata();
        let parquet_metadata = Arc::new(IoxParquetMetaData::from_thrift_bytes(parquet_metadata));
        let decoded_metadata = parquet_metadata.decode().expect("parquet metadata broken");
        let iox_metadata = decoded_metadata
            .read_iox_metadata_new()
            .expect("cannot read IOx metadata from parquet MD");
        Self {
            parquet_file,
            parquet_metadata,
            decoded_metadata,
            iox_metadata,
        }
    }
pub fn new ( parquet_file_with_metadata : ParquetFileWithMetadata ) -> Self { let ( parquet_file , parquet_metadata ) = parquet_file_with_metadata . split_off_metadata ( ) ; let parquet_metadata = Arc :: new ( IoxParquetMetaData :: from_thrift_bytes ( parquet_metadata ) ) ; let decoded_metadata = parquet_metadata . decode ( ) . expect ( " " ) ; let iox_metadata = decoded_metadata . read_iox_metadata_new ( ) . expect ( " " ) ; Self { parquet_file , parquet_metadata , decoded_metadata , iox_metadata , } }
initialise a [`DecodedParquetFile`] from the provided file & metadata.
initialise a [ ` DecodedParquetFile ` ] from the provided file & metadata .
parquet_file_with_metadata
ParquetFileWithMetadata
parquet_file_with_metadata
ParquetFileWithMetadata