[
https://issues.apache.org/jira/browse/ARROW-8265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Grove updated ARROW-8265:
------------------------------
Fix Version/s: (was: 0.17.0)
1.0.0
> [Rust] [DataFusion] Table API collect() should not require context
> ------------------------------------------------------------------
>
> Key: ARROW-8265
> URL: https://issues.apache.org/jira/browse/ARROW-8265
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust, Rust - DataFusion
> Reporter: Andy Grove
> Assignee: Andy Grove
> Priority: Major
> Fix For: 1.0.0
>
>
> The Table API requires the context to be passed into the collect() method
> which leads to this odd code.
> {code:java}
> let results = ctx.table("alltypes_plain")?
> .filter(col("c12").gt(&lit_f64(0.5)))?
> .aggregate(vec![col("c1")], vec![min(col("c12"))])?
> .collect(&mut ctx, 1024)?; {code}
> Since the table comes from the context, it should not be necessary to pass
> the context back in.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)