-
Notifications
You must be signed in to change notification settings - Fork 2
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
<lazyframe>$group_by()$agg()$collect()
may hang
#23
Comments
It hangs. as_polars_df(mtcars)$group_by(1:2, foo = TRUE)$agg() It works. as_polars_df(data.frame(a = 1:10))$group_by(1:2, foo = TRUE)$agg() It works. as_polars_df(data.frame(a = 1:14))$group_by(1:2, foo = TRUE)$agg() It hangs. as_polars_df(data.frame(a = 1:15))$group_by(1:2, foo = TRUE)$agg() It works. as_polars_df(mtcars[1:14, ])$group_by(1:2, foo = TRUE)$agg() I don't know why, but it seems to hang if the original data frame has more than 15 rows??? |
Hmmm, it works. as_polars_lf(mtcars)$group_by(1:2, foo = TRUE)$agg()$collect(streaming = TRUE) It hangs. as_polars_lf(mtcars)$group_by(1:2, foo = TRUE)$agg()$collect(streaming = FALSE) |
2 tasks
I think we need to implement this part to cancel hanged queries. neo-r-polars/src/rust/src/r_threads.rs Lines 177 to 182 in 49ac30a
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed this example will hang.
This is not confirmed by Python Polars or current R Polars.
It may occur if some feature flag is missing, but I have not been able to identify it (Enabling several features did not solve the problem.).
The text was updated successfully, but these errors were encountered: