Skip to content

Commit

Permalink
remove not needed cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Davies Liu committed Jun 13, 2015
1 parent 4acbbe4 commit 769d2aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@

package org.apache.spark.sql.catalyst.expressions

import org.apache.spark.sql.catalyst
import org.apache.spark.sql.catalyst.expressions.codegen.{GeneratedExpressionCode, CodeGenContext}
import org.apache.spark.sql.catalyst.trees
import org.apache.spark.sql.catalyst.analysis.UnresolvedException
import org.apache.spark.sql.catalyst.expressions.codegen.{CodeGenContext, GeneratedExpressionCode}
import org.apache.spark.sql.catalyst.trees
import org.apache.spark.sql.types.DataType

case class Coalesce(children: Seq[Expression]) extends Expression {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ case class HashOuterJoin(
case r if boundCondition(joinedRow.withRight(r)) => joinedRow.copy()
}
if (temp.size == 0) {
joinedRow.withRight(rightNullRow).copy.asInstanceOf[InternalRow] :: Nil
joinedRow.withRight(rightNullRow).copy :: Nil
} else {
temp
}
Expand Down

0 comments on commit 769d2aa

Please sign in to comment.