Github user mateiz commented on a diff in the pull request:
https://github.com/apache/spark/pull/1371#discussion_r14854235
--- Diff: python/pyspark/tests.py ---
@@ -204,6 +204,12 @@ def combOp(x, y):
self.assertEqual(set([2]), sets[3])
self.assertEqual(set([1, 3]), sets[5])
+ def test_hash_of_none(self):
+ data = self.sc.parallelize([None]*10, 2)
+ h = data.map(lambda x:hash(x))
--- End diff --
Won't this fail now? (Or if it passes it's because this runs on one machine
somehow)
---
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 [email protected] or file a JIRA ticket
with INFRA.
---