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

fix: execute materialized joins in the pandas and dask backends #3086

Merged
merged 2 commits into from Oct 21, 2021

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Oct 21, 2021

This PR adds a dispatch to the pandas and dask backends for ops.MaterializedJoin.
This operation is a no-op in those backends, because its child (an ops.Join) has
already been evaluated.

Fixes #3082.

@cpcloud cpcloud requested a review from jreback October 21, 2021 12:38
@cpcloud cpcloud added this to the Next release milestone Oct 21, 2021
@cpcloud cpcloud added dask The Dask backend pandas The pandas backend bug Incorrect behavior inside of ibis labels Oct 21, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Oct 21, 2021

Unit Test Results

       44 files         44 suites   1h 28m 31s ⏱️
10 706 tests   8 703 ✔️ 2 003 💤 0
41 601 runs  34 068 ✔️ 7 533 💤 0

Results for commit 9ed937a.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. can you add a release note.

@cpcloud
Copy link
Member Author

cpcloud commented Oct 21, 2021

@jreback can you approve?

@@ -12,6 +12,7 @@ Release Notes
These release notes are for versions of ibis **1.0 and later**. Release
notes for pre-1.0 versions of ibis can be found at :doc:`release-pre-1.0`

* :bug:`3086` Error when trying to join tables with Pandas backend
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should prob put a version tag here (to differeniate the releases). but can be another issue.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is automatically done by the plugin

@cpcloud cpcloud merged commit 9ed937a into ibis-project:master Oct 21, 2021
@cpcloud cpcloud deleted the join-bug-3082 branch October 21, 2021 14:39
@cpcloud cpcloud modified the milestones: Next release, 2.x Jan 7, 2022
@ibis-project-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior inside of ibis dask The Dask backend pandas The pandas backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when trying to join tables with Pandas backend
2 participants