Skip to content

Commit ab6d8d4

Browse files
committed
fix a style
1 parent 7443eaa commit ab6d8d4

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ object RemoveAliasOnlyProject extends Rule[LogicalPlan] {
226226
// when the project is the right child of the Union,
227227
// this function is to check it.
228228
def isUnionRightProj(p: Project, plan: LogicalPlan): Boolean = {
229-
plan.collectFirst{
229+
plan.collectFirst {
230230
case u @ Union(children) if children.tail.exists(_ eq p)
231231
&& children.head.isInstanceOf[Project]
232232
&& p.projectList.exists(proj =>

0 commit comments

Comments
 (0)