Apply a filter
(self, expr: impl Into<Expr>)
| 622 | |
| 623 | /// Apply a filter |
| 624 | pub fn filter(self, expr: impl Into<Expr>) -> Result<Self> { |
| 625 | let expr = normalize_col(expr.into(), &self.plan)?; |
| 626 | Filter::try_new(expr, self.plan) |
| 627 | .map(LogicalPlan::Filter) |
| 628 | .map(Self::new) |
| 629 | } |
| 630 | |
| 631 | /// Apply a filter which is used for a having clause |
| 632 | pub fn having(self, expr: impl Into<Expr>) -> Result<Self> { |