You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by dh...@apache.org on 2021/05/27 06:24:25 UTC

[arrow-datafusion] branch master updated: Fixed master. (#433)

This is an automated email from the ASF dual-hosted git repository.

dheres pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c0ad7b  Fixed master. (#433)
9c0ad7b is described below

commit 9c0ad7b68387181e9d35d34c5dd55b6fe43b94d3
Author: Jorge Leitao <jo...@gmail.com>
AuthorDate: Thu May 27 08:23:05 2021 +0200

    Fixed master. (#433)
---
 datafusion/src/physical_plan/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datafusion/src/physical_plan/mod.rs b/datafusion/src/physical_plan/mod.rs
index 4f90a8c..b1234a0 100644
--- a/datafusion/src/physical_plan/mod.rs
+++ b/datafusion/src/physical_plan/mod.rs
@@ -558,7 +558,7 @@ pub trait WindowAccumulator: Send + Sync + Debug {
             .collect::<Option<Vec<ScalarValue>>>();
 
         Ok(match result {
-            Some(arr) if num_rows == arr.len() => Some(ScalarValue::iter_to_array(&arr)?),
+            Some(arr) if num_rows == arr.len() => Some(ScalarValue::iter_to_array(arr)?),
             None => None,
             Some(arr) => {
                 return Err(DataFusionError::Internal(format!(