Skip to main content

product_operands

Function product_operands 

Source
fn product_operands<'a>(
    argument: &'a Expr,
    projection: Option<&'a Projection>,
) -> Option<(&'a Expr, &'a Expr, bool)>
Expand description

The two operands of a payload aggregate’s argument, which must be a multiplication of two columns of the joined inputs, in either order.

The projection that may sit between the aggregate and the join either passes the product’s operands through under their original names (the argument is then the multiplication itself) or computes the product on its own, in which case the argument is a column of the projection and the multiplication is looked up there.