-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-16683][SQL] Repeated joins to same table can leak attributes via partitioning giving incorrect results #18697
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -65,6 +65,10 @@ abstract class SparkPlan extends QueryPlan[SparkPlan] with Logging with Serializ | |
| false | ||
| } | ||
|
|
||
| override def verboseStringWithSuffix: String = { | ||
| s"$verboseString $outputPartitioning" | ||
| } | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Except for debugging this, do we really need to print out output partitioning always?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't change anything that is in common use, one has to do |
||
|
|
||
| /** Overridden make copy also propagates sqlContext to copied plan. */ | ||
| override def makeCopy(newArgs: Array[AnyRef]): SparkPlan = { | ||
| SparkSession.setActiveSession(sqlContext.sparkSession) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
We are refactoring the concept of distribution and partitioning in the PR #19080
Could you provide your inputs in that PR first? Thanks!