-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use MurmurHash2 for key partition hashing
- Loading branch information
Dana Powers
committed
Jun 10, 2015
1 parent
8e3cd1c
commit 4e339a7
Showing
2 changed files
with
98 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
from .roundrobin import RoundRobinPartitioner | ||
from .hashed import HashedPartitioner | ||
from .hashed import HashedPartitioner, Murmur2Partitioner, LegacyPartitioner | ||
|
||
__all__ = [ | ||
'RoundRobinPartitioner', 'HashedPartitioner' | ||
'RoundRobinPartitioner', 'HashedPartitioner', 'Murmur2Partitioner', | ||
'LegacyPartitioner' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This will throw an error on Unicode strings... Does anyone know what Java does for Unicode? UTF-8?