[SPARK-6320][SQL] Move planLater method into GenericStrategy.#13426
[SPARK-6320][SQL] Move planLater method into GenericStrategy.#13426ueshin wants to merge 4 commits intoapache:branch-2.0from
Conversation
|
@rxin thoughts on including this in 2.0? Seems safe to me. |
| @DeveloperApi | ||
| abstract class SparkStrategy extends GenericStrategy[SparkPlan] { | ||
|
|
||
| override protected def planLater(plan: LogicalPlan): SparkPlan = PlanLater(plan) |
There was a problem hiding this comment.
can anybody implement this without planlater being public?
There was a problem hiding this comment.
Yes, because it's a protected method.
I didn't understand your true meaning but do you think it should be more open like public or closer like private[sql] or final here?
There was a problem hiding this comment.
I was referring to case class PlanLater
There was a problem hiding this comment.
Ah, I see.
Yes, we can implement this without PlanLater being public.
|
Looks fine. |
|
Test build #59693 has finished for PR 13426 at commit
|
|
I'm going to go ahead and merge this so we get the API changes in before we cut any RCs. Thanks! |
|
@ueshin can you close this (PRs not against master don't auto close) |
|
Sure. |
What changes were proposed in this pull request?
This PR is the minimal version of #13147 for
branch-2.0.How was this patch tested?
Picked
SparkPlannerSuitefrom #13147.