You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rust/cubesql/cubesql/src/compile/rewrite/cost.rs
+22-5Lines changed: 22 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -206,6 +206,8 @@ impl BestCubePlan {
206
206
207
207
CubePlanCost{
208
208
replacers: this_replacers,
209
+
// Will be filled in finalize
210
+
penalized_ast_size_outside_wrapper:0,
209
211
table_scans,
210
212
filters,
211
213
filter_members,
@@ -239,6 +241,7 @@ impl BestCubePlan {
239
241
240
242
/// This cost struct maintains following structural relationships:
241
243
/// - `replacers` > other nodes - having replacers in structure means not finished processing
244
+
/// - `penalized_ast_size_outside_wrapper` > other nodes - this is used to force "no post processing" mode, only CubeScan and CubeScanWrapped are expected as result
242
245
/// - `table_scans` > other nodes - having table scan means not detected cube scan
243
246
/// - `empty_wrappers` > `non_detected_cube_scans` - we don't want empty wrapper to hide non detected cube scan errors
244
247
/// - `non_detected_cube_scans` > other nodes - minimize cube scans without members
0 commit comments