Skip to content

Instantly share code, notes, and snippets.

@akonkol
Created February 6, 2017 21:50
Show Gist options
  • Save akonkol/85660aacb45185e60e1750978143d0c6 to your computer and use it in GitHub Desktop.
Save akonkol/85660aacb45185e60e1750978143d0c6 to your computer and use it in GitHub Desktop.
mm3 token diffs
>>> from cassandra.murmur3 import _murmur3 as mm3_python
>>> int(mm3_python('7d924de1-7190-453f-b3a6-960e205daf9f'))
2417951897228342131
cqlsh> select TOKEN(id) from blobhub.blobdata where id=7d924de1-7190-453f-b3a6-960e205daf9f ;
token(id)
---------------------
9210132584838039448
(1 rows)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment