Ted-Jiang opened a new issue, #4603:
URL: https://github.com/apache/arrow-datafusion/issues/4603
**Is your feature request related to a problem or challenge? Please describe
what you are trying to do.**
A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
(This section helps Arrow developers understand the context and *why* for
this feature, in addition to the *what*)
Now run
```
SELECT s_suppkey, s_nationkey, s_acctbal, (max(s_acctbal) over (
ORDER BY
s_acctbal DESC ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING)) wr
FROM supplier
limit 10;
ArrowError(ExternalError(Internal("Retract should be implemented for
aggregate functions when used with custom window frame queries")))
```
Got error because of `min`, `max` accumulator not support `retract_batch`
https://github.com/alamb/arrow-datafusion/blob/394c5eebf0cfb080698485bd32a8d2fb2230fb80/datafusion/expr/src/accumulator.rs#L61
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features
you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
--
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]