Commits

Andy Grove authored eb0dd868933
ARROW-8123: [Rust] [DataFusion] Add LogicalPlanBuilder This PR introduces a LogicalPlanBuilder to make it easier to build logical plans. It also updates the SQL planner to use the LogicalPlanBuilder instead of constructing the logical plans directly, which simplifies the SQL planning logic. Here is an example of the usage of the new builder. ```rust let plan = LogicalPlanBuilder::scan( "default", "employee.csv", &employee_schema(), Some(vec![0, 3]), )? .filter(col(1).eq(&lit_str("CO")))? .project(vec![col(0)])? .build()?; ``` Closes #6625 from andygrove/ARROW-8123 Authored-by: Andy Grove <andygrove73@gmail.com> Signed-off-by: Andy Grove <andygrove73@gmail.com>