Skip to content

Commit e3eb80f

Browse files
committed
workaround sum bug
1 parent 216b22e commit e3eb80f

File tree

1 file changed

+2
-0
lines changed
  • datafusion/physical-expr-common/src/aggregate/groups_accumulator

1 file changed

+2
-0
lines changed

datafusion/physical-expr-common/src/aggregate/groups_accumulator/prim_op.rs

+2
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ where
185185
)
186186
})?
187187
.map_err(DataFusionError::from)?;
188+
let state_values = state_values
189+
.with_data_type(self.data_type.clone());
188190

189191
Ok(vec![Arc::new(state_values)])
190192
}

0 commit comments

Comments
 (0)