fn schema_for_column_names(
        &self,
        names: &[ColumnName<'_>],
    ) -> Vec<(crate::schema::ColumnType, LogicalDataType)> {
        names
            .iter()
            .map(|&name| {
                let schema = self.columns.get(name).unwrap();
                (schema.typ.clone(), schema.logical_data_type)
            })
            .collect::<Vec<_>>()
    }
// Extract schema information for a set of columns.
Extract schema information for a set of columns.
Extract schema information for a set of columns .
fn schema_for_column_names(
        &self,
        names: &[ColumnName<'_>],
    ) -> Vec<(crate::schema::ColumnType, LogicalDataType)> {
        names
            .iter()
            .map(|&name| {
                let schema = self.columns.get(name).unwrap();
                (schema.typ.clone(), schema.logical_data_type)
            })
            .collect::<Vec<_>>()
    }
fn schema_for_column_names ( & self , names : & [ ColumnName < ' _ > ] , ) -> Vec < ( crate :: schema :: ColumnType , LogicalDataType ) > { names . iter ( ) . map ( | & name | { let schema = self . columns . get ( name ) . unwrap ( ) ; ( schema . typ . clone ( ) , schema . logical_data_type ) } ) . collect :: < Vec < _ > > ( ) }
Extract schema information for a set of columns.
Extract schema information for a set of columns .
&self
names
&[ColumnName<'_>]
&self
names
&[ColumnName<'_>]