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

Method evaluate

datafusion/core/tests/user_defined/user_defined_aggregates.rs:627–629  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

625 }
626
627 fn evaluate(&mut self) -> Result<ScalarValue> {
628 Ok(ScalarValue::TimestampNanosecond(Some(self.sum), None))
629 }
630
631 fn size(&self) -> usize {
632 // accurate size estimates are not important for this example

Callers 5

apply_projectionFunction · 0.45
is_table_same_after_sortFunction · 0.45
evaluate_expr_testFunction · 0.45
stateMethod · 0.45

Calls 3

newFunction · 0.85
to_stateMethod · 0.80
intoMethod · 0.45

Tested by

no test coverage detected