Skip to content

Commit f15074a

Browse files
committed
remove outdated lines
1 parent 2038085 commit f15074a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/HiveTypeCoercion.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,6 @@ trait HiveTypeCoercion {
253253
i.makeCopy(Array(Cast(a, StringType), b.map(Cast(_, StringType))))
254254
case i @ In(a, b) if a.dataType == TimestampType && b.forall(_.dataType == DateType) =>
255255
i.makeCopy(Array(Cast(a, StringType), b.map(Cast(_, StringType))))
256-
case i @ In(a, b) if a.dataType == DateType && b.forall(_.dataType == DateType) =>
257-
i.makeCopy(Array(Cast(a, StringType), b.map(Cast(_, StringType))))
258-
case i @ In(a, b) if a.dataType == TimestampType && b.forall(_.dataType == TimestampType) =>
259-
i.makeCopy(Array(Cast(a, StringType), b.map(Cast(_, StringType))))
260-
261256

262257
case Sum(e) if e.dataType == StringType =>
263258
Sum(Cast(e, DoubleType))

0 commit comments

Comments
 (0)