pub struct ExplainOptions {
pub logical_plan_only: bool,
pub physical_plan_only: bool,
pub show_statistics: bool,
pub show_sizes: bool,
pub show_schema: bool,
pub format: ExplainFormat,
pub tree_maximum_render_width: usize,
pub analyze_level: MetricType,
pub analyze_categories: ExplainAnalyzeCategories,
}Expand description
Options controlling explain output
See also: SessionConfig
Fields§
§logical_plan_only: boolWhen set to true, the explain statement will only print logical plans
physical_plan_only: boolWhen set to true, the explain statement will only print physical plans
show_statistics: boolWhen set to true, the explain statement will print operator statistics for physical plans
show_sizes: boolWhen set to true, the explain statement will print the partition sizes
show_schema: boolWhen set to true, the explain statement will print schema information
format: ExplainFormatDisplay format of explain. Default is “indent”. When set to “tree”, it will print the plan in a tree-rendered format.
tree_maximum_render_width: usize(format=tree only) Maximum total width of the rendered tree. When set to 0, the tree will have no width limit.
analyze_level: MetricTypeVerbosity level for “EXPLAIN ANALYZE”. Default is “dev” “summary” shows common metrics for high-level insights. “dev” provides deep operator-level introspection for developers.
analyze_categories: ExplainAnalyzeCategoriesWhich metric categories to include in “EXPLAIN ANALYZE” output. Comma-separated list of: “rows”, “bytes”, “timing”, “uncategorized”. Use “none” to show plan structure only, or “all” (default) to show everything. Metrics without a declared category are treated as “uncategorized”.
Trait Implementations§
Source§impl Clone for ExplainOptions
impl Clone for ExplainOptions
Source§fn clone(&self) -> ExplainOptions
fn clone(&self) -> ExplainOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ConfigField for ExplainOptions
impl ConfigField for ExplainOptions
Source§impl Debug for ExplainOptions
impl Debug for ExplainOptions
Source§impl Default for ExplainOptions
impl Default for ExplainOptions
Source§impl PartialEq for ExplainOptions
impl PartialEq for ExplainOptions
Source§fn eq(&self, other: &ExplainOptions) -> bool
fn eq(&self, other: &ExplainOptions) -> bool
self and other values to be equal, and is used by ==.