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

Method into_expr

src/sql/src/plan/hir.rs:603–615  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

601 }
602
603 pub fn into_expr(self) -> mz_expr::AggregateFunc {
604 match self.func {
605 ScalarWindowFunc::RowNumber => mz_expr::AggregateFunc::RowNumber {
606 order_by: self.order_by,
607 },
608 ScalarWindowFunc::Rank => mz_expr::AggregateFunc::Rank {
609 order_by: self.order_by,
610 },
611 ScalarWindowFunc::DenseRank => mz_expr::AggregateFunc::DenseRank {
612 order_by: self.order_by,
613 },
614 }
615 }
616}
617
618#[derive(

Callers 2

applied_toMethod · 0.45
fmtMethod · 0.45

Calls 5

collectMethod · 0.45
mapMethod · 0.45
into_iterMethod · 0.45
cloneMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected