MCPcopy Create free account
hub / github.com/apache/datafusion / having

Method having

datafusion/expr/src/logical_plan/builder.rs:632–637  ·  view source on GitHub ↗

Apply a filter which is used for a having clause

(self, expr: impl Into<Expr>)

Source from the content-addressed store, hash-verified

630
631 /// Apply a filter which is used for a having clause
632 pub fn having(self, expr: impl Into<Expr>) -> Result<Self> {
633 let expr = normalize_col(expr.into(), &self.plan)?;
634 Filter::try_new(expr, self.plan)
635 .map(LogicalPlan::Filter)
636 .map(Self::from)
637 }
638
639 /// Make a builder for a prepare logical plan from the builder's plan
640 pub fn prepare(self, name: String, fields: Vec<FieldRef>) -> Result<Self> {

Callers

nothing calls this directly

Calls 3

normalize_colFunction · 0.85
intoMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected