-
Notifications
You must be signed in to change notification settings - Fork 123
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
feat: arrow join methods #558
Conversation
result = df.join(df, how="cross") # type: ignore[arg-type] | ||
|
||
expected = {"a": [1, 1, 1, 3, 3, 3, 2, 2, 2], "a_right": [1, 3, 2, 1, 3, 2, 1, 3, 2]} | ||
result = df.join(df, how="cross").sort("a", "a_right") # type: ignore[arg-type] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without sorting, the result is flaky as order is not guaranteed
amazing! vega/altair#3487 should fix the CI failure |
FYI, that PR just got merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.with_columns(**{key_token: plx.lit(0, None)})._native_dataframe.join( | ||
other.with_columns(**{key_token: plx.lit(0, None)})._native_dataframe, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
truly wild
and i love it
What type of PR is this? (check all applicable)
Related issues
Checklist
If you have comments or can explain your changes, please do so below.
Implements various join types for arrow and
fill_null
(as it is used in one test)I am mostly trusting our tests at this point :)