Skip to content

Commit 2eebddb

Browse files
committed
feat(cubesql): Allow aggregation flattening to have joins in input
Non-flatten rules will gain support for joins with grouped-grouped joins SQL generation support in WrappedSelect
1 parent 48a9e99 commit 2eebddb

File tree

1 file changed

+2
-2
lines changed
  • rust/cubesql/cubesql/src/compile/rewrite/rules/wrapper

1 file changed

+2
-2
lines changed

rust/cubesql/cubesql/src/compile/rewrite/rules/wrapper/aggregate.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ impl WrapperRules {
455455
"?grouped_subqueries",
456456
),
457457
wrapper_pullup_replacer(
458-
wrapped_select_joins_empty_tail(),
458+
"?inner_joins",
459459
"?alias_to_cube",
460460
"WrapperPullupReplacerPushToCube:true",
461461
"WrapperPullupReplacerInProjection:false",
@@ -545,7 +545,7 @@ impl WrapperRules {
545545
"?grouped_subqueries",
546546
),
547547
wrapper_pullup_replacer(
548-
wrapped_select_joins_empty_tail(),
548+
"?inner_joins",
549549
"?alias_to_cube",
550550
"WrapperPullupReplacerPushToCube:true",
551551
"WrapperPullupReplacerInProjection:false",

0 commit comments

Comments
 (0)