pub fn maybe_attach_region_watermark_metrics(
stream: SendableRecordBatchStream,
plan: Arc<dyn ExecutionPlan>,
should_collect_region_watermark: bool,
) -> SendableRecordBatchStreamExpand description
Attaches terminal region watermark metrics to stream when collection is requested.