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

Possible to remove to_pandas calls in merge and join operations #6849

Closed
arunjose696 opened this issue Jan 10, 2024 · 1 comment · Fixed by #6850
Closed

Possible to remove to_pandas calls in merge and join operations #6849

arunjose696 opened this issue Jan 10, 2024 · 1 comment · Fixed by #6850

Comments

@arunjose696
Copy link
Collaborator

arunjose696 commented Jan 10, 2024

In query_compiler.merge and query_compiler.join we use to_pandas() eg right_pandas = right.to_pandas() in This operation in the main thread is blocking. This could be expensive if the right dataframe size is too large.

It is possible to remove the to_pandas calls by replacing apply_full_axis with broadcast_apply_full_axis and pass the right dataframe to broadcast_apply_full_axis as Originally suggested by @YarShev in #5524 (comment) and

@anmyachev
Copy link
Collaborator

Related issue: #4711

anmyachev pushed a commit that referenced this issue Jan 11, 2024
…#6850)

Signed-off-by: arunjose696 <arunjose696@gmail.com>
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

Successfully merging a pull request may close this issue.

2 participants