spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JoshRosen <...@git.apache.org>
Subject [GitHub] spark pull request: [WIP][SPARK-7018][Build]: Refactor dev/run-tes...
Date Mon, 12 Oct 2015 00:43:33 GMT
Github user JoshRosen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/7401#discussion_r41718283
  
    --- Diff: python/pyspark/rdd.py ---
    @@ -296,7 +296,7 @@ def flatMap(self, f, preservesPartitioning=False):
     
             >>> rdd = sc.parallelize([2, 3, 4])
             >>> sorted(rdd.flatMap(lambda x: range(1, x)).collect())
    -        [1, 1, 1, 2, 2, 3]
    +        [1, 1, 1, 2, 2, 3, 3, 3, 4, 4, 4, 4]
    --- End diff --
    
    I think that the purpose of this change was to induce a test failure to verify that the
output reporting was correct.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message