MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / plan_stddev

Method plan_stddev

src/sql/src/plan/transform_ast.rs:300–313  ·  view source on GitHub ↗
(
        &mut self,
        expr: Expr<Aug>,
        filter: Option<Box<Expr<Aug>>>,
        distinct: bool,
        sample: bool,
        over: Option<WindowSpec<Aug>>,
    )

Source from the content-addressed store, hash-verified

298 }
299
300 fn plan_stddev(
301 &mut self,
302 expr: Expr<Aug>,
303 filter: Option<Box<Expr<Aug>>>,
304 distinct: bool,
305 sample: bool,
306 over: Option<WindowSpec<Aug>>,
307 ) -> Expr<Aug> {
308 self.plan_variance(expr, filter, distinct, sample, over)
309 .call_unary(
310 self.scx
311 .dangerous_resolve_name(vec![PG_CATALOG_SCHEMA, "sqrt"]),
312 )
313 }
314
315 fn plan_bool_and(
316 &mut self,

Callers 1

rewrite_functionMethod · 0.80

Calls 3

plan_varianceMethod · 0.80
call_unaryMethod · 0.45

Tested by

no test coverage detected