Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The Table API requires the context to be passed into the collect() method which leads to this odd code.
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)?;
Since the table comes from the context, it should not be necessary to pass the context back in.