-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-8233][SQL] misc function: hash #6971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the toString as the case class will handle it properly.
|
LGTM except a minor issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Hive, the Hash can take multiple columns: hash(a1[, a2...])
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, yes, @qiansl127 can you update this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davies @chenghao-intel Done!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NAVER - http://www.naver.com/
sujkh@naver.com 님께 보내신 메일 <Re: [spark] [SPARK-8233][SQL] misc function: hash (#6971)> 이 다음과 같은 이유로 전송 실패했습니다.
받는 사람이 회원님의 메일을 수신차단 하였습니다.
36a327a to
9abe117
Compare
|
@davies Could you check this PR? |
|
@davies, can you please trigger the unit test? I am working on the |
|
And definitely I will update the code here after this PR being merged. |
|
Jenkins, retest this please. |
|
@rxin I've done the rebase, please trigger the test. |
|
Test build #998 has finished for PR 6971 at commit
|
|
Jenkins, ok to test. |
|
In general, I think it's ok to leave the |
|
Test build #1013 has finished for PR 6971 at commit
|
|
@qiansl127 can you close this pull request? @JoshRosen will create an implementation based on your change. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ordering of the map keys in foreach is not stable, so I think this may lead to unstable hashcodes for identical maps.
|
OK, sorry for no following these days. |
https://issues.apache.org/jira/browse/SPARK-8233