Skip to content

Commit 3e40a92

Browse files
committed
code cleanup per review
1 parent e504c3e commit 3e40a92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mllib/src/main/scala/org/apache/spark/ml/clustering/PowerIterationClustering.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ class PowerIterationClustering private[clustering] (
235235
uncastPredictions.withColumn($(idCol), col($(idCol)).cast(LongType))
236236
case otherType =>
237237
throw new IllegalArgumentException(s"PowerIterationClustering had an unexpected error: " +
238-
s"ID col was found to be of type $otherType, despite initial schema checks. Please " +
239-
s"report this bug.")
238+
s"ID col was found to be of type ${otherType.simpleString}, despite initial schema " +
239+
s"checks. Please report this bug.")
240240
}
241241
}
242242

0 commit comments

Comments
 (0)