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

    https://github.com/apache/spark/pull/4629#discussion_r24852684
  
    --- Diff: python/pyspark/tests.py ---
    @@ -740,6 +739,27 @@ def test_multiple_python_java_RDD_conversions(self):
             converted_rdd = RDD(data_python_rdd, self.sc)
             self.assertEqual(2, converted_rdd.count())
     
    +    def test_narrow_dependency_in_join(self):
    +        rdd = self.sc.parallelize(range(10)).map(lambda x: (x, x))
    --- End diff --
    
    do these tests actually check for a narrow dependency at all?  I think they 
will pass even without it.
    
    I'm not sure of a better suggestion, though.  I had to use 
`getNarrowDependencies` in another PR to check this:
    
https://github.com/apache/spark/pull/4449/files#diff-4bc3643ce90b54113cad7104f91a075bR582
    
    but I don't think that is even exposed in pyspark ...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to