Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R] Any support for rolling windows functions? #36849

Open
DavisVaughan opened this issue Jul 24, 2023 · 1 comment
Open

[R] Any support for rolling windows functions? #36849

DavisVaughan opened this issue Jul 24, 2023 · 1 comment

Comments

@DavisVaughan
Copy link
Contributor

Describe the enhancement requested

i.e. functions like rolling mean, min, max, etc.

In r-lib/slider#195 I got a request for rolling window functions to work with arrow backends. I have a feeling the way that would work (if it existed) was for arrow to translate something like mutate(df, mean = slide_mean(col, before = 3)) internally to something the C++ engine understands.

But I'm not sure if arrow supports rolling functions at all, so this is also more of a discussion issue to figure out if that was on the roadmap

Component(s)

R

@thisisnic
Copy link
Member

We don't currently support window functions. There are a few blockers before we're there, most of which are in #32991, though I don't think anyone is looking at those at the moment, so while I'd love to see them, I don't think it's something we're likely to have any time soon.

See #34201 (comment) for more details around this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants