You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by mattf <gi...@git.apache.org> on 2014/07/18 16:17:25 UTC

[GitHub] spark pull request: [SPARK-2494] [PySpark] make hash of None consi...

Github user mattf commented on the pull request:

    https://github.com/apache/spark/pull/1371#issuecomment-49435527
  
    i've confirmed that this patch addresses the reported issue...
    
    ```
     (
      len(sc.parallelize([((None, 1), 1),] * 100, 100).groupByKey(10).collect()) == 1,
      len(sc.parallelize([(((None, 1), 1), 1),] * 100, 100).groupByKey(10).collect()) == 1,
      len(sc.parallelize([((1, None), 1),] * 100, 100).groupByKey(10).collect()) == 1,
      len(sc.parallelize([(((None, 1), None), 1),] * 100, 100).groupByKey(10).collect()) == 1,
     ) => (True, True, True, True)



---
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.
---