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

Function log_plan

datafusion/optimizer/src/utils.rs:106–109  ·  view source on GitHub ↗

Log the plan in debug/tracing mode after some part of the optimizer runs

(description: &str, plan: &LogicalPlan)

Source from the content-addressed store, hash-verified

104
105/// Log the plan in debug/tracing mode after some part of the optimizer runs
106pub fn log_plan(description: &str, plan: &LogicalPlan) {
107 debug!("{description}:\n{}\n", plan.display_indent());
108 trace!("{description}::\n{}\n", plan.display_indent_schema());
109}
110
111/// Determine whether a predicate can restrict NULLs. e.g.
112/// `c0 > 8` return true;

Callers 2

optimizeMethod · 0.85
execute_and_checkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…