is_constant_expression

Function is_constant_expression 

Source
fn is_constant_expression(expr: &Expr) -> bool
Expand description

Checks if expression is constant, and can be eliminated from group by.

Intended to be used only within this rule, helper function, which heavily relies on SimplifyExpressions result.