Skip to content

Commit

Permalink
refactor(cubesql): Tighten rule for non-trivial wrapper pullup
Browse files Browse the repository at this point in the history
  • Loading branch information
mcheshkov committed Nov 12, 2024
1 parent 95526cb commit 59d1231
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ impl WrapperRules {
),
"?select_alias",
"?select_distinct",
"?select_push_to_cube",
// This node has a WrappedSelect in from, so it's not allowed to use push to Cube
"WrappedSelectPushToCube:false",
"?select_ungrouped_scan",
),
"CubeScanWrapperFinalized:false",
Expand Down Expand Up @@ -245,7 +246,7 @@ impl WrapperRules {
"?order_expr",
"?select_alias",
"?select_distinct",
"?select_push_to_cube",
"WrappedSelectPushToCube:false",
"?select_ungrouped_scan",
),
"?alias_to_cube",
Expand Down

0 comments on commit 59d1231

Please sign in to comment.