Github user mattf commented on a diff in the pull request:
https://github.com/apache/spark/pull/2383#discussion_r17515406
--- Diff: python/pyspark/tests.py ---
@@ -586,6 +586,17 @@ def test_repartitionAndSortWithinPartitions(self):
self.assertEquals(partitions[0], [(0, 5), (0, 8), (2, 6)])
self.assertEquals(partitions[1], [(1, 3), (3, 8), (3, 8)])
+ def test_distinct(self):
+ rdd = self.sc.parallelize((1,2,3)*10).distinct()
--- End diff --
thanks, i forgot to run lint. i've updated the patch...
$ ./dev/lint-python
PEP 8 checks passed.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]