-
Notifications
You must be signed in to change notification settings - Fork 175
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
Pivoting a very wide lazy table throws a c-stack error. #1217
Comments
I can't reproduce this but I think this has to do with the many |
Can't reproduce meaning you don't get an error? Can you demonstrate? |
Yes, I don't get an error, not even with |
I also get this C stack error. My personal use case was with duckdb and pivot_longer, 500 columns. The query ran smoothly as a tibble but throws a C stack error with duckdb (works well with 10 columns, haven't yet explored the limit). I also get the C stack error with the above repex. Any idea what system details might be relevant to this? Thank you!
(all package versions are new as of last week. can attach full |
You could try with the dev version of dbplyr. Otherwise, this has to wait until a series of |
The dev version now handles a sequence of |
I can confirm that this dev version was able to handle the table in the reprex. Great work!
If you would like me to stress-test a bit I would be happy to do that. |
Thanks for the feedback. |
I created a wide table: >100 columns. As a tibble I can pivot it to three columns. As a memdb, SQLite in-memory table, or arrow-->duckdb table I get a c-stack error:
When I reduce the number of columns to , say 80, I don't get the error.
I created a reprex, but for some reason it won't display that error. However, I am including the code below:
The text was updated successfully, but these errors were encountered: