From d5e703ab199729bd94d09d4c623535c81e43f056 Mon Sep 17 00:00:00 2001 From: Yongting You <2010youy01@gmail.com> Date: Wed, 26 Feb 2025 15:17:43 +0800 Subject: [PATCH] Update datafusion/physical-plan/src/sorts/sort.rs Co-authored-by: Andrew Lamb --- datafusion/physical-plan/src/sorts/sort.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/datafusion/physical-plan/src/sorts/sort.rs b/datafusion/physical-plan/src/sorts/sort.rs index f771eb07bda3..d84068527a64 100644 --- a/datafusion/physical-plan/src/sorts/sort.rs +++ b/datafusion/physical-plan/src/sorts/sort.rs @@ -422,6 +422,9 @@ impl ExternalSorter { /// Reconstruct `self.in_mem_batches` to organize the payload buffers of each /// `StringViewArray` in sequential order by calling `gc()` on them. /// + /// Note this is a workaround until is + /// available + /// /// # Rationale /// After (merge-based) sorting, all batches will be sorted into a single run, /// but physically this sorted run is chunked into many small batches. For