timsaucer commented on PR #859:
URL:
https://github.com/apache/datafusion-python/pull/859#issuecomment-2334945189
If you wanted to divide and conquer we can, but actually I think another
thing that would be very helpful would be to have a more ergonomic way to use
aggregates as window functions. I could see two ways
1. Update `functions.window` to take an aggregate function instead of a
registered function name.
2. Add something like `Expr.over()` so you could do something like
`first_value(col("a")).over(window)` where `window` is a window frame
definition.
What do you think? That could be done entirely independent of this PR
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]