This is an automated email from the ASF dual-hosted git repository.
Rachelint pushed a commit to branch final-aggr-with-lazily-materialize-poc
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to
refs/heads/final-aggr-with-lazily-materialize-poc by this push:
new ba4ce3c9f3 test3.
ba4ce3c9f3 is described below
commit ba4ce3c9f3c1e9adf078bb1ef9b5000d16b976f2
Author: kamille <[email protected]>
AuthorDate: Sun Jul 12 22:48:47 2026 +0800
test3.
---
datafusion/physical-expr-common/src/binary_view_map.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/datafusion/physical-expr-common/src/binary_view_map.rs
b/datafusion/physical-expr-common/src/binary_view_map.rs
index 9de8798756..9fcdfba544 100644
--- a/datafusion/physical-expr-common/src/binary_view_map.rs
+++ b/datafusion/physical-expr-common/src/binary_view_map.rs
@@ -421,7 +421,7 @@ where
/// Converts this map into an array and clears the map for reuse.
pub fn take_state(&mut self) -> ArrayRef {
if !self.in_progress.is_empty() {
- let flushed = std::mem::take(&mut self.in_progress);
+ let flushed = std::mem::replace(&mut self.in_progress,
Vec::with_capacity(BYTE_VIEW_MAX_BLOCK_SIZE));
self.completed.push(Buffer::from_vec(flushed));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]