You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "willrnch (via GitHub)" <gi...@apache.org> on 2023/07/31 16:24:27 UTC

[GitHub] [arrow-datafusion] willrnch opened a new issue, #7157: Add expression for array_agg

willrnch opened a new issue, #7157:
URL: https://github.com/apache/arrow-datafusion/issues/7157

   ### Is your feature request related to a problem or challenge?
   
   Add to way to perform `array_agg` with the Dataframe API.
   
   ### Describe the solution you'd like
   
   ```rust
   use datafusion::prelude::array_agg;
   
   let df = ctx
       .table("t1").await?
       .aggregate(vec![], vec![array_agg(col("value"))])?;
   
   // ==
   
   let df= ctx.sql("SELECT array_agg(value) FROM t1").await?;
   
   ```
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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-unsubscribe@arrow.apache.org.apache.org

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


[GitHub] [arrow-datafusion] alamb closed issue #7157: Add expression for array_agg

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #7157: Add expression for array_agg
URL: https://github.com/apache/arrow-datafusion/issues/7157


-- 
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-unsubscribe@arrow.apache.org

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