/// Add a new chunk to this provider
Add a new chunk to this provider
Add a new chunk to this provider
pub fn add_chunk(&mut self, chunk: Arc<C>, chunk_table_schema: Schema) -> Result<&mut Self> {
        self.schema_merger
            .merge(&chunk_table_schema)
            .context(ChunkSchemaNotCompatible {
                table_name: self.table_name.as_ref(),
            })?;
        self.chunks.push(chunk);
        Ok(self)
    }
pub fn add_chunk ( & mut self , chunk : Arc < C > , chunk_table_schema : Schema ) -> Result < & mut Self > { self . schema_merger . merge ( & chunk_table_schema ) . context ( ChunkSchemaNotCompatible { table_name : self . table_name . as_ref ( ) , } ) ? ; self . chunks . push ( chunk ) ; Ok ( self ) }
Add a new chunk to this provider
Add a new chunk to this provider
&mut self
chunk
Arc<C>
chunk_table_schema
Schema