Andy Grove created ARROW-8123:
---------------------------------
Summary: [Rust] [DataFusion] Create LogicalPlanBuilder
Key: ARROW-8123
URL: https://issues.apache.org/jira/browse/ARROW-8123
Project: Apache Arrow
Issue Type: Improvement
Components: Rust, Rust - DataFusion
Reporter: Andy Grove
Assignee: Andy Grove
Fix For: 1.0.0
Building logical plans is arduous and a builder would make this nicer. Example:
{code:java}
let plan = LogicalPlanBuilder::new()
.scan(
"default",
"employee.csv",
&employee_schema(),
Some(vec![0, 3]),
)?
.filter(col(1).eq(&lit_str("CO")))?
.project(vec![col(0)])?
.build()?; {code}
Note that I am already working on this and will have a PR shortly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)