pub fn terminal_recordbatch_metrics_from_plan( plan: Arc<dyn ExecutionPlan>, ) -> Option<RecordBatchMetrics>