Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
reswqa committed Apr 12, 2024
1 parent 8a71cbb commit df668e7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/polars-lazy/src/physical_plan/expressions/apply.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,8 @@ impl PhysicalExpr for ApplyExpr {
_ => {},
}
}
if has_agg_list {
if has_agg_list || (has_agg_scalar && has_not_agg) {
return self.apply_multiple_group_aware(acs, df);
} else if has_agg_scalar && has_not_agg {
self.apply_multiple_group_aware(acs, df)
} else {
apply_multiple_elementwise(
acs,
Expand Down

0 comments on commit df668e7

Please sign in to comment.