Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Nov 26, 2024
1 parent 1906d64 commit 657875e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/polars-plan/src/plans/aexpr/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,6 @@ impl AExpr {
polars_ensure!(!fields.is_empty(), ComputeError: "expression: '{}' didn't get any inputs", function);
let out = function.get_field(ctx.schema, ctx.ctx, &fields)?;

// Note: Here in schema resolution we use `is_elementwise()`. During execution the
// scalar returns are identified using `is_scalar_ae()`

if options.flags.contains(FunctionFlags::RETURNS_SCALAR) {
*agg_list = false;
} else if !options.is_elementwise() && matches!(ctx.ctx, Context::Aggregation) {
Expand Down

0 comments on commit 657875e

Please sign in to comment.