pub(crate) fn new_with_table(table: Table, metrics: ChunkMetrics) -> Self {
        Self {
            chunk_data: RwLock::new(TableData {
                rows: table.rows(),
                row_groups: table.row_groups(),
                data: vec![(table.name().to_owned(), table)].into_iter().collect(),
            }),
            metrics,
        }
    }
/// Initialises a new `Chunk` seeded with the provided `Table`.
///
/// TODO(edd): potentially deprecate.
Initialises a new `Chunk` seeded with the provided `Table`.
Initialises a new ` Chunk ` seeded with the provided ` Table ` .
pub(crate) fn new_with_table(table: Table, metrics: ChunkMetrics) -> Self {
        Self {
            chunk_data: RwLock::new(TableData {
                rows: table.rows(),
                row_groups: table.row_groups(),
                data: vec![(table.name().to_owned(), table)].into_iter().collect(),
            }),
            metrics,
        }
    }
pub ( crate ) fn new_with_table ( table : Table , metrics : ChunkMetrics ) -> Self { Self { chunk_data : RwLock :: new ( TableData { rows : table . rows ( ) , row_groups : table . row_groups ( ) , data : vec ! [ ( table name ( ) to_owned ( ) table ) ] . into_iter ( ) . collect ( ) , } ) , metrics , } }
Initialises a new `Chunk` seeded with the provided `Table`.
Initialises a new ` Chunk ` seeded with the provided ` Table ` .
table
Table
metrics
ChunkMetrics
table
Table
metrics
ChunkMetrics