Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22373#discussion_r216191508
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/ml/feature/VectorAssemblerSuite.scala ---
    @@ -256,4 +256,9 @@ class VectorAssemblerSuite
         assert(runWithMetadata("keep", additional_filter = "id1 > 2").count() 
== 4)
       }
     
    +  test("SPARK-25371: VectorAssembler with empty inputCols") {
    +    val vectorAssembler = new 
VectorAssembler().setInputCols(Array()).setOutputCol("a")
    --- End diff --
    
    Is `VectorAssembler` with zero input column useful?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to