Skip to content

Conversation

ogrisel
Copy link
Contributor

@ogrisel ogrisel commented Jan 22, 2012

Here is an attempt at fully resolving name conflict in merges when left_on or right_on keys are passed explicitly.

I am not sure my fix is correct but I include a new non-regression test to highlight the issue and the resolution does not introduce any regression findable by running nosetests.

@adamklein
Copy link
Contributor

Rebased & merged

@adamklein adamklein closed this Jan 25, 2012
@ogrisel
Copy link
Contributor Author

ogrisel commented Jan 25, 2012

Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

@ogrisel I'm struggling to find a case where exclude_names would be non-empty after this block of code. Any ideas (since you worked on this most recently)? Gonna keep hacking at it a bit here

Copy link
Member

Choose a reason for hiding this comment

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

I don't think it can, actually. Just going to remove this code as the test suite is pretty exhaustive and never passes non-empty exclude names to the maybe_rename_join method

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Basically I implemented this to make the new test_handle_overlap_arbitrary_key test pass.

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 this pull request may close these issues.

3 participants