MCPcopy Create free account
hub / github.com/apache/datafusion / evaluate

Method evaluate

datafusion/functions-aggregate/src/first_last.rs:637–639  ·  view source on GitHub ↗
(&mut self, emit_to: EmitTo)

Source from the content-addressed store, hash-verified

635 }
636
637 fn evaluate(&mut self, emit_to: EmitTo) -> Result<ArrayRef> {
638 Ok(self.take_state(emit_to)?.0)
639 }
640
641 fn state(&mut self, emit_to: EmitTo) -> Result<Vec<ArrayRef>> {
642 let (val_arr, orderings, is_sets) = self.take_state(emit_to)?;

Callers 3

test_first_group_accFunction · 0.45
test_last_group_accFunction · 0.45

Calls 2

take_stateMethod · 0.80
cloneMethod · 0.45

Tested by 3

test_first_group_accFunction · 0.36
test_last_group_accFunction · 0.36