Module over_window_to_topn_rule

Source

Structsยง

FilterArithmeticRewriter ๐Ÿ”’
Filter arithmetic simplification rewriter: simplifies (col op const) = const2 to col = (const2 reverse_op const)
OverWindowToTopNRule
Transforms the following pattern to group TopN (No Ranking Output).

Functionsยง

handle_rank_preds ๐Ÿ”’
Returns None if the conditions are too complex or invalid. Some((limit, offset)) otherwise.