Skip to content

Commit eee37ce

Browse files
committed
WIP: Add PPOptions::everything()
1 parent cf2b2d9 commit eee37ce

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

rust/cubestore/cubestore/src/queryplanner/pretty_printers.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@ pub struct PPOptions {
5555
pub show_check_memory_nodes: bool,
5656
}
5757

58+
impl PPOptions {
59+
pub fn everything() -> PPOptions {
60+
PPOptions {
61+
show_filters: true,
62+
show_sort_by: true,
63+
show_aggregations: true,
64+
show_output_hints: true,
65+
show_check_memory_nodes: true,
66+
}
67+
}
68+
}
69+
5870
pub fn pp_phys_plan(p: &dyn ExecutionPlan) -> String {
5971
pp_phys_plan_ext(p, &PPOptions::default())
6072
}

0 commit comments

Comments
 (0)