Commits


Jorge C. Leitao authored and Andrew Lamb committed 5db284fc583
ARROW-10854: [Rust] [DataFusion] Simplify logical plan scans This PR simplifies the logical plan by removing `CsvScan`, `ParquetScan` and `InMemoryScan` and encapsulating all of them into `TableScan`. The underlying aspect here is that all these nodes perform the same operation (through the `dyn TableProvider`), they are just described in the plan differently. This PR makes all scans be encapsulated via `TableScan`, thereby removing the other ones. This has no execution differences - it only simplifies code at the logical level. This also renames the function `MemTable::new -> Result<Self>` to `MemTable::try_new`, as that is the standard in rust for falible constructors. Closes #8870 from jorgecarleitao/simplify_logical Authored-by: Jorge C. Leitao <jorgecarleitao@gmail.com> Signed-off-by: Andrew Lamb <andrew@nerdnetworks.org>