huaxingao commented on a change in pull request #28487:
URL: https://github.com/apache/spark/pull/28487#discussion_r422558046
##########
File path:
mllib/src/test/scala/org/apache/spark/ml/feature/VectorAssemblerSuite.scala
##########
@@ -261,4 +261,14 @@ class VectorAssemblerSuite
val output = vectorAssembler.transform(dfWithNullsAndNaNs)
assert(output.select("a").limit(1).collect().head == Row(Vectors.sparse(0,
Seq.empty)))
}
+ test("SPARK-31671: should give explicit error message when can not infer
column lengths") {
Review comment:
super nit: add a blank line between L263 and L264?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]