milenkovicm commented on PR #10354:
URL: https://github.com/apache/datafusion/pull/10354#issuecomment-2100499963
I apologise for making noise, but it looks like all of the non closure
options have issue with borrowing:
```
error[E0505]: cannot move out of `expr.0` because it is borrowed
-->
datafusion/optimizer/src/simplify_expressions/expr_simplifier.rs:1391:48
|
1388 | func_def: AggregateFunctionDefinition::UDF(ref udaf),
| --------
borrow of `expr.0.func_def.0` occurs here
...
1391 | if let Expr::AggregateFunction(aggregate_function) =
expr {
| ^^^^^^^^^^^^^^^^^^
move out of `expr.0` occurs here
1392 | udaf.simplify(aggregate_function, info)?
| ---- borrow later used here
```
It looks like `AggregateArg` is back on the table
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]