Andy Grove created ARROW-8265: --------------------------------- Summary: [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 Fix For: 0.17.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)