Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

converted key to string to be safeside #870

Merged
merged 1 commit into from
Feb 16, 2018

Conversation

sonihimanshu
Copy link
Contributor

No description provided.

@hyperlink
Copy link
Collaborator

What case does this fix?

@sonihimanshu
Copy link
Contributor Author

fix for #655 -

I faced the same issue, on more analysis I found the key must be a string only but earlier I was using integer value as a key, in that case "hashCode" function was always returning the same hash and due to which Keyed partition was not working for me.

this is the PR, in which a key can always be converted to string to get the hash code for a given value.

Copy link
Collaborator

@hyperlink hyperlink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution.

@hyperlink hyperlink merged commit b56571f into SOHU-Co:master Feb 16, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants