From 25ca74040dc31ec08493f397133a50cfbee704a8 Mon Sep 17 00:00:00 2001 From: Mikhail Cheshkov Date: Mon, 13 Jan 2025 21:24:49 +0200 Subject: [PATCH] fix(cubesql): Pass proper in_projection flag in non-trivial wrapper pull up rule --- .../src/compile/rewrite/rules/wrapper/wrapper_pull_up.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/cubesql/cubesql/src/compile/rewrite/rules/wrapper/wrapper_pull_up.rs b/rust/cubesql/cubesql/src/compile/rewrite/rules/wrapper/wrapper_pull_up.rs index e6c7fa0b9a239..64eaa28bc9a76 100644 --- a/rust/cubesql/cubesql/src/compile/rewrite/rules/wrapper/wrapper_pull_up.rs +++ b/rust/cubesql/cubesql/src/compile/rewrite/rules/wrapper/wrapper_pull_up.rs @@ -285,7 +285,7 @@ impl WrapperRules { // This is fixed to false for any LHS because we should only allow to push to Cube when from is ungrouped CubeSCan // And after pulling replacer over this node it will be WrappedSelect(from=WrappedSelect), so it should not allow to push for whatever LP is on top of it "WrapperPullupReplacerPushToCube:false", - "?inner_projection_expr", + "?in_projection", "?cube_members", "?grouped_subqueries", ),