-
Notifications
You must be signed in to change notification settings - Fork 358
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
Raise a more helpful error for duplicated columns in Join #820
Conversation
Softagram Impact Report for pull/820 (head commit: 08f25bd)⭐ Change Overview
📄 Full report
Impact Report explained. Give feedback on this report to [email protected] |
Codecov Report
@@ Coverage Diff @@
## master #820 +/- ##
==========================================
- Coverage 94.33% 92.68% -1.66%
==========================================
Files 32 32
Lines 5844 5849 +5
==========================================
- Hits 5513 5421 -92
- Misses 331 428 +97
Continue to review full report at Codecov.
|
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.
Thanks for a PR @thoo.
with self.assertRaisesRegex(ValueError, | ||
"columns overlap but no suffix specified"): | ||
kdf1.join(ks1, how='outer') | ||
kdf1.join(kdf2, how='outer') |
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.
Actually this only tests the first line.
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.
Sorry. I will fix it.
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.
Ah yes. Sorry for missing this one will take a closer look next time @ueshin
* upstream/master: Updated the koalas logo in readme.md Adding koalas-logo without label Adding Koalas logo to readme Adding koalas logo Clean pandas usage in frame.agg (databricks#821) Implement Series.aggregate and agg (databricks#816) Raise a more helpful error for duplicated columns in Join (databricks#820)
Fix #819
Raise an error
>>> ValueError: columns overlap but no suffix specified: ['letter']
if the duplicated column(s) is found but no suffix is specified.Also added the pytests.