(&mut self)
| 536 | } |
| 537 | |
| 538 | fn state(&mut self) -> Result<Vec<ScalarValue>> { |
| 539 | Ok(vec![ |
| 540 | ScalarValue::from(self.count), |
| 541 | ScalarValue::Float64(self.sum), |
| 542 | ]) |
| 543 | } |
| 544 | |
| 545 | fn merge_batch(&mut self, states: &[ArrayRef]) -> Result<()> { |
| 546 | // counts are summed |
nothing calls this directly
no test coverage detected