Github user jkbradley commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22136#discussion_r212483950
  
    --- Diff: python/pyspark/ml/tests.py ---
    @@ -844,6 +844,28 @@ def test_string_indexer_from_labels(self):
                 
.select(model_default.getOrDefault(model_default.outputCol)).collect()
             self.assertEqual(len(transformed_list), 5)
     
    +    def test_vector_size_hint(self):
    --- End diff --
    
    Thanks!  FYI this still isn't really testing the return value of setSize, 
but I think it's OK since we don't really do that anywhere else : P and I'm 
confident in the above change.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to