Github user WeichenXu123 commented on a diff in the pull request:
https://github.com/apache/spark/pull/20146#discussion_r161040537
--- Diff:
mllib/src/test/scala/org/apache/spark/ml/feature/StringIndexerSuite.scala ---
@@ -331,4 +357,51 @@ class StringIndexerSuite
val dfWithIndex = model.transform(dfNoBristol)
assert(dfWithIndex.filter($"CITYIndexed" === 1.0).count == 1)
}
+
+ test("StringIndexer multiple input columns") {
--- End diff --
Is there a test case, for testing `frequencyAsc/Desc`, when frequency
equal, it will secondary sort by alphabets ?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]