Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-8123

[Rust] [DataFusion] Create LogicalPlanBuilder

    XMLWordPrintableJSON

Details

    Description

      Building logical plans is arduous and a builder would make this nicer. Example:

      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()?; 

      Note that I am already working on this and will have a PR shortly.

      Attachments

        Issue Links

          Activity

            People

              andygrove Andy Grove
              andygrove Andy Grove
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m