Skip to content

Commit 86c8a10

Browse files
author
Wayne Zhang
committed
clean up code
1 parent 6479965 commit 86c8a10

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

mllib/src/main/scala/org/apache/spark/ml/feature/Imputer.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ class ImputerModel private[ml](
201201

202202
$(inputCols).zip($(outputCols)).zip(surrogates).foreach {
203203
case ((inputCol, outputCol), surrogate) =>
204-
val inputType = dataset.schema(inputCol).dataType
205204
val ic = col(inputCol).cast(DoubleType)
206205
outputDF = outputDF.withColumn(outputCol,
207206
when(ic.isNull, surrogate)

0 commit comments

Comments
 (0)