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

Method explain

datafusion/expr/src/logical_plan/builder.rs:1311–1318  ·  view source on GitHub ↗

Create an expression to represent the explanation of the plan if `analyze` is true, runs the actual plan and produces information about metrics during run. if `verbose` is true, prints out additional details.

(self, verbose: bool, analyze: bool)

Source from the content-addressed store, hash-verified

1309 ///
1310 /// if `verbose` is true, prints out additional details.
1311 pub fn explain(self, verbose: bool, analyze: bool) -> Result<Self> {
1312 // Keep the format default to Indent
1313 self.explain_option_format(
1314 ExplainOption::default()
1315 .with_verbose(verbose)
1316 .with_analyze(analyze),
1317 )
1318 }
1319
1320 /// Create an expression to represent the explanation of the plan
1321 /// The`explain_option` is used to specify the format and verbosity of the explanation.

Callers 1

test_transform_explainFunction · 0.45

Calls 3

explain_option_formatMethod · 0.80
with_analyzeMethod · 0.80
with_verboseMethod · 0.80

Tested by 1

test_transform_explainFunction · 0.36