We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 873c016 commit 351f8e0Copy full SHA for 351f8e0
rust/cubesql/cubesql/src/compile/rewrite/rules/members.rs
@@ -134,8 +134,11 @@ impl RewriteRules for MemberRules {
134
"?old_members",
135
"?filters",
136
"?orders",
137
- "?limit",
138
- "?offset",
+ // If CubeScan already have limit and offset ot would be incorrect to push aggregation into it
+ // Aggregate(CubeScan(limit, offset)) would run aggregation over limited rows
139
+ // CubeScan(aggregation, limit, offset) would return limited groups
140
+ "CubeScanLimit:None",
141
+ "CubeScanOffset:None",
142
"?split",
143
"?can_pushdown_join",
144
"CubeScanWrapped:false",
0 commit comments