MCPcopy Create free account
hub / github.com/apache/datafusion / Explain

Class Explain

datafusion/expr/src/logical_plan/plan.rs:3258–3272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3256/// [the documentation]: https://datafusion.apache.org/user-guide/sql/explain.html
3257#[derive(Debug, Clone, PartialEq, Eq, Hash)]
3258pub struct Explain {
3259 /// Should extra (detailed, intermediate plans) be included?
3260 pub verbose: bool,
3261 /// Output format for explain, if specified.
3262 /// If none, defaults to `text`
3263 pub explain_format: ExplainFormat,
3264 /// The logical plan that is being EXPLAIN'd
3265 pub plan: Arc<LogicalPlan>,
3266 /// Represent the various stages plans have gone through
3267 pub stringified_plans: Vec<StringifiedPlan>,
3268 /// The output schema of the explain (2 columns of text)
3269 pub schema: DFSchemaRef,
3270 /// Used by physical planner to check if should proceed with planning
3271 pub logical_optimization_succeeded: bool,
3272}
3273
3274// Manual implementation needed because of `schema` field. Comparison excludes this field.
3275impl PartialOrd for Explain {

Callers 9

with_new_exprsMethod · 0.85
map_childrenMethod · 0.85
explain_option_formatMethod · 0.85
parse_explainMethod · 0.85
explain_to_planMethod · 0.85
try_from_logical_planMethod · 0.85
try_from_explain_execMethod · 0.85
optimizeMethod · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…