Select the given column indices
(self, indices: impl IntoIterator<Item = usize>)
| 613 | |
| 614 | /// Select the given column indices |
| 615 | pub fn select(self, indices: impl IntoIterator<Item = usize>) -> Result<Self> { |
| 616 | let exprs: Vec<_> = indices |
| 617 | .into_iter() |
| 618 | .map(|x| Expr::Column(Column::from(self.plan.schema().qualified_field(x)))) |
| 619 | .collect(); |
| 620 | self.project(exprs) |
| 621 | } |
| 622 | |
| 623 | /// Apply a filter |
| 624 | pub fn filter(self, expr: impl Into<Expr>) -> Result<Self> { |