tustvold commented on code in PR #4582:
URL: https://github.com/apache/arrow-datafusion/pull/4582#discussion_r1045769561
##########
datafusion-examples/examples/simple_udaf.rs:
##########
@@ -108,10 +107,10 @@ impl Accumulator for GeometricMean {
// This function serializes our state to `ScalarValue`, which DataFusion
uses
// to pass this state between execution stages.
// Note that this can be arbitrary data.
- fn state(&self) -> Result<Vec<AggregateState>> {
+ fn state(&self) -> Result<Vec<ScalarValue>> {
Review Comment:
Eventually it might be nice to change this to be `ArrayRef` or something,
but we will see what shakes out of
https://github.com/apache/arrow-datafusion/issues/2723
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]