-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
polars join
panics if an empty list of columns to join is passed.
#12732
Labels
🐛 bug
Something isn't working
dataframe
issues related to the dataframe implementation
needs-triage
An issue that hasn't had any proper look
Comments
sholderbach
added
🐛 bug
Something isn't working
dataframe
issues related to the dataframe implementation
labels
May 2, 2024
A couple of thoughts with this one:
|
Full stack:
|
Given that this happens because of a polars panic and it now happens when collecting the dataframe, it is impossible to improve the error message. What I was able to do is ensure the panic does not kill the plugin instance, thereby causing all cached state to be lost. Fix in #12866 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
🐛 bug
Something isn't working
dataframe
issues related to the dataframe implementation
needs-triage
An issue that hasn't had any proper look
Describe the bug
When
polars join
is used in scripts, there are situations where the empty list of columns will be passed as arguments. Currently,polars
panics in such cases, but it would be better to provide an informative message indicating that the columns list is empty.How to reproduce
[[a]; [0] [1]] | polars into-df | polars join ([[a]; [0] [1]] | polars into-df) [] []
Expected behavior
to inform the user that the empty list of columns was passed
Screenshots
No response
Configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: