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

Method state

datafusion/functions-aggregate/src/array_agg.rs:396–398  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

394 }
395
396 fn state(&mut self) -> Result<Vec<ScalarValue>> {
397 Ok(vec![self.evaluate()?])
398 }
399
400 fn evaluate(&mut self) -> Result<ScalarValue> {
401 if self.values.is_empty() {

Callers 2

mergeFunction · 0.45

Calls 3

sortMethod · 0.45
pushMethod · 0.45
evaluate_orderingsMethod · 0.45

Tested by 1