ClSlaid commented on issue #10293:
URL: https://github.com/apache/datafusion/issues/10293#issuecomment-2105950929

   hi, @alamb, I'd like to know if those two expressions differ:
   ```rust
                   let aggr_expr = 
vec![Expr::AggregateFunction(AggregateFunction::new(
                       AggregateFunctionFunc::FirstValue,
                       select_expr,
                       false,
                       None,
                       sort_expr.clone(),
                       None,
                   ))];
   ```
   ```rust
                   let aggr_expr = select_expr.into_iter().map(|e| {
                       Expr::AggregateFunction(AggregateFunction::new(
                           AggregateFunctionFunc::FirstValue,
                           vec![e],
                           false,
                           None,
                           sort_expr.clone(),
                           None,
                       ))
                   });
   ```


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to