fn extract_column_from_expr(expr: &Expr) -> Option<Column>Expand description
Extracts a column reference from an expression, if present.
This function checks if the given expression is a column reference or contains one,
such as within a cast operation. It returns the Column if found.
§Arguments
expr- A reference to anExprto inspect for a column reference.
§Returns
An Option<Column> containing the column reference if found, otherwise None.