common_grpc_expr::util

Function extract_new_columns

source
pub fn extract_new_columns(
    schema: &Schema,
    column_exprs: Vec<ColumnExpr<'_>>,
) -> Result<Option<AddColumns>>
Expand description

Find columns that are not present in the schema and return them as AddColumns for adding columns automatically. It always sets add_if_not_exists to true for now.