pub fn terminal_recordbatch_metrics_from_plan_if_requested(
plan: Option<Arc<dyn ExecutionPlan>>,
should_collect_region_watermark: bool,
) -> Option<RecordBatchMetrics>Expand description
Collects terminal record-batch metrics from plan only when requested.