Function mz_adapter::explain::explain_dataflow
source ยท pub(crate) fn explain_dataflow<T>(
plan: DataflowDescription<T>,
format: ExplainFormat,
config: &ExplainConfig,
features: &OptimizerFeatures,
humanizer: &dyn ExprHumanizer,
cardinality_stats: BTreeMap<GlobalId, usize>,
target_cluster: Option<&str>,
dataflow_metainfo: &DataflowMetainfo<Arc<OptimizerNotice>>,
) -> Result<String, AdapterError>
Expand description
Convenience method to derive an ExplainContext
from the index_imports
in
the given plan
and all other input parameters, wrap the plan
in an
Explainable
, and finally compute and return the explain(...)
result.