Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upprovide hash function for the go/python/java/c++ client #1281
Labels
Comments
|
I hope you can provide it in the next release. It's simple and useful. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Is your feature request related to a problem? Please describe.
Ther is no explanation about which hash function used in console. I've to look up the Nebula C++ code, and guess for my language.
So when I use golang client to insert vertex id(vid), I don't know which hash function to use (I think in golang, it is murmurhash2A)
Describe the solution you'd like
I hope Nebula can provide a nebula::util::hash
Describe alternatives you've considered
You can tell user the hash function (murmurhash, m, r, seed... ), and let user search for their own language packages. But that's a really really bad idea. It takes me half hour to check my golang hash is consistent with nebula hash ( I don't think anyone else wants to do this search).
Additional context
Add any other context or screenshots about the feature request here.