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 join warnings #2741

Merged
merged 4 commits into from May 4, 2017
Merged

Fix join warnings #2741

merged 4 commits into from May 4, 2017

Conversation

krlmlr
Copy link
Member

@krlmlr krlmlr commented May 4, 2017

  • New Column class
  • Remove duplicate warnings
  • Warn about inconsistencies in semi- and anti-joins
  • Reverse order of column names in warnings for left join

Closes #2733. Fixes #2739.

krlmlr added 3 commits May 4, 2017 10:30
- warn about inconsistencies in semi- and anti-joins
- reverse order of column names in warnings for left join
@krlmlr krlmlr requested review from hadley and removed request for hadley May 4, 2017 08:37
Copy link
Member

@hadley hadley left a comment

Choose a reason for hiding this comment

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

Can you briefly describe where the second warning was coming from? I assume it's something to do with passing warn_ = false in the right place

@@ -30,7 +30,7 @@ DataFrame subset_join(DataFrame x, DataFrame y,
}

// first the joined columns
DataFrameJoinVisitors join_visitors(x, y, SymbolVector(by_x), SymbolVector(by_y), false, false);
DataFrameJoinVisitors join_visitors(x, y, SymbolVector(by_x), SymbolVector(by_y), true, false);
Copy link
Member Author

Choose a reason for hiding this comment

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

@hadley. We're now warning only from here, used to warn from the individual join functions below (with flipped col names for left join), and from both constructors for the new warnings you added.

@krlmlr krlmlr merged commit 354b085 into tidyverse:master May 4, 2017
@krlmlr krlmlr deleted the b-#2733-#2739-join-warn branch May 4, 2017 14:01
@lock
Copy link

lock bot commented Jan 18, 2019

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants