Skip to content

Commit

Permalink
remove outdated lines
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-wang committed Oct 10, 2014
1 parent 2038085 commit f15074a
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,6 @@ trait HiveTypeCoercion {
i.makeCopy(Array(Cast(a, StringType), b.map(Cast(_, StringType))))
case i @ In(a, b) if a.dataType == TimestampType && b.forall(_.dataType == DateType) =>
i.makeCopy(Array(Cast(a, StringType), b.map(Cast(_, StringType))))
case i @ In(a, b) if a.dataType == DateType && b.forall(_.dataType == DateType) =>
i.makeCopy(Array(Cast(a, StringType), b.map(Cast(_, StringType))))
case i @ In(a, b) if a.dataType == TimestampType && b.forall(_.dataType == TimestampType) =>
i.makeCopy(Array(Cast(a, StringType), b.map(Cast(_, StringType))))


case Sum(e) if e.dataType == StringType =>
Sum(Cast(e, DoubleType))
Expand Down

0 comments on commit f15074a

Please sign in to comment.