Skip to content

Commit

Permalink
Remove blank line
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinod K C committed May 8, 2015
1 parent b1b00a3 commit 8ddbfae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/pyspark/rdd.py
Original file line number Diff line number Diff line change
Expand Up @@ -2237,7 +2237,6 @@ def countApproxDistinct(self, relativeSD=0.05):
>>> 16 < n < 24
True
"""

# the hash space in Java is 2^32
hashRDD = self.map(lambda x: portable_hash(x) & 0xFFFFFFFF)
return hashRDD._to_java_object_rdd().countApproxDistinct(relativeSD)
Expand Down

0 comments on commit 8ddbfae

Please sign in to comment.