/// Split the parquet_metadata off, leaving a regular ParquetFile and the bytes to transfer
/// ownership separately.
Split the parquet_metadata off, leaving a regular ParquetFile and the bytes to transfer
ownership separately.
Split the parquet_metadata off leaving a regular ParquetFile and the bytes to transfer ownership separately .
pub fn split_off_metadata(self) -> (ParquetFile, Vec<u8>) {
        let Self {
            id,
            sequencer_id,
            namespace_id,
            table_id,
            partition_id,
            object_store_id,
            min_sequence_number,
            max_sequence_number,
            min_time,
            max_time,
            to_delete,
            file_size_bytes,
            parquet_metadata,
            row_count,
            compaction_level,
            created_at,
        } = self;
        (
            ParquetFile {
                id,
                sequencer_id,
                namespace_id,
                table_id,
                partition_id,
                object_store_id,
                min_sequence_number,
                max_sequence_number,
                min_time,
                max_time,
                to_delete,
                file_size_bytes,
                row_count,
                compaction_level,
                created_at,
            },
            parquet_metadata,
        )
    }
pub fn split_off_metadata ( self ) -> ( ParquetFile , Vec < u8 > ) { let Self { id , sequencer_id , namespace_id , table_id , partition_id , object_store_id , min_sequence_number , max_sequence_number , min_time , max_time , to_delete , file_size_bytes , parquet_metadata , row_count , compaction_level , created_at , } = self ; ( ParquetFile { id , sequencer_id , namespace_id , table_id , partition_id , object_store_id , min_sequence_number , max_sequence_number , min_time , max_time , to_delete , file_size_bytes , row_count , compaction_level , created_at , } , parquet_metadata , ) }
Split the parquet_metadata off, leaving a regular ParquetFile and the bytes to transfer
ownership separately.
Split the parquet_metadata off leaving a regular ParquetFile and the bytes to transfer ownership separately .
self