Skip to content

Commit 786d3a0

Browse files
committed
Rename method name.
1 parent e0957b1 commit 786d3a0

File tree

1 file changed

+2
-2
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer

1 file changed

+2
-2
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ object ColumnPruning extends Rule[LogicalPlan] {
6868
projectList.flatMap(_.references).toSet ++ condition.map(_.references).getOrElse(Set.empty)
6969

7070
/** Applies a projection only when the child is producing unnecessary attributes */
71-
def prunedChild(c: LogicalPlan) = ColumnPruning.prunedChild(c, allReferences)
71+
def pruneJoinChild(c: LogicalPlan) = prunedChild(c, allReferences)
7272

73-
Project(projectList, Join(prunedChild(left), prunedChild(right), joinType, condition))
73+
Project(projectList, Join(pruneJoinChild(left), pruneJoinChild(right), joinType, condition))
7474

7575
// Eliminate unneeded attributes from right side of a LeftSemiJoin.
7676
case Join(left, right, LeftSemi, condition) =>

0 commit comments

Comments
 (0)