Module common_subexpr_eliminate

Module common_subexpr_eliminate 

Source
Expand description

CommonSubexprEliminate to avoid redundant computation of common sub-expressions

Structs§

CommonSubexprEliminate
Performs Common Sub-expression Elimination optimization.
ExprCSEController 🔒

Enums§

ExprMask 🔒
Which type of expressions should be considered for rewriting?

Constants§

CSE_PREFIX 🔒

Functions§

build_common_expr_project_plan 🔒
Build the “intermediate” projection plan that evaluates the extracted common expressions.
build_recover_project_plan 🔒
Build the projection plan to eliminate unnecessary columns produced by the “intermediate” projection plan built in build_common_expr_project_plan.
extract_expressions 🔒
get_consecutive_window_exprs 🔒
Get all window expressions inside the consecutive window operators.