-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-6555] [SQL] Overrides equals() and hashCode() for MetastoreRelation #5289
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
Conversation
|
Test build #29472 has started for PR 5289 at commit |
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 the trouble maker is PlanTest.comparePlans, because now MetastoreRelation also compares output attributes. But right now I don't have a clean solution for this. Thus, I replace the original metastore relation with a temporary relation to pass the test here.
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.
I think thats actually reasonable. Compare plans is mostly about checking plan structure.
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.
I'd even be okay adding a special rule to compare plans that always replaces MetastoreRelations with LocalRelation
|
Test build #29474 has started for PR 5289 at commit |
|
Test build #29472 has finished for PR 5289 at commit
|
|
Test PASSed. |
|
Test build #29474 has finished for PR 5289 at commit
|
|
Test PASSed. |
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.
All changes above this line are about reverting workaround introduced in #5183.
…ation Also removes temporary workarounds made in #5183 and #5251. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/apache/spark/5289) <!-- Reviewable:end --> Author: Cheng Lian <[email protected]> Closes #5289 from liancheng/spark-6555 and squashes the following commits: d0095ac [Cheng Lian] Removes unused imports cfafeeb [Cheng Lian] Removes outdated comment 75a2746 [Cheng Lian] Overrides equals() and hashCode() for MetastoreRelation (cherry picked from commit a7992ff) Signed-off-by: Michael Armbrust <[email protected]>
|
Thanks! Merged to master and 1.3 |
Also removes temporary workarounds made in #5183 and #5251.