Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
columnize_expr in datafusion_expr::utils - Rust
[go: Go Back, main page]

pub fn columnize_expr(e: Expr, input_schema: &DFSchema) -> Expr
Expand description

Convert an expression into Column expression if it’s already provided as input plan.

For example, it rewrites:

.aggregate(vec![col("c1")], vec![sum(col("c2"))])?
.project(vec![col("c1"), sum(col("c2"))?

Into:

.aggregate(vec![col("c1")], vec![sum(col("c2"))])?
.project(vec![col("c1"), col("SUM(#c2)")?