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

distinct() in Databricks/SparkSQL causes "arrange()... __row_num_*" error #1481

Open
fabkury opened this issue Mar 20, 2024 · 0 comments
Open

Comments

@fabkury
Copy link

fabkury commented Mar 20, 2024

From my perspective, this error started happening at some point in the past few weeks.

Merely calling dplyr::distinct() on a lazy (remote) tibble gives:

Error in arrange(., !!sym(row_num)):
1 In argument:  `__row_num_a46479cf_8586_4003_b032_d43e0bc6c4d1`
Caused by error:
! Object `__row_num_a46479cf_8586_4003_b032_d43e0bc6c4d1` not found.
Error in arrange():

That arrange(., !!sym(row_num)) is not from my script.

I am able to circumvent the problem by doing a trivial group_by() then keeping only the group keys.

Thanks for the awesome software.

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

No branches or pull requests

1 participant