-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-8280][SPARK-8281][SQL]Handle NaN, null and Infinity in math #7451
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
|
Log family semantic comparision:
Since we disable udf7 to enable log base between (0.0, 1], we do not have log related comparsion with Hive. So, what about other semantics of |
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.
Still need + 0.0 here, math.atan2 is calling java.lang.Math.atan2 inside
|
cc @rxin |
|
Let's follow Hive for log, and make sure we add a unit test. |
|
So we behave like Hive except that we do support log base in between (0.0, 1.0], and add a unit test like |
|
Yup. |
|
Jenkins, add to whitelist. |
|
Jenkins, ok to test. |
|
Jenkins, test this please. |
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.
missed a space here
|
Jenkins, retest this please. |
|
Test build #37596 has finished for PR 7451 at commit
|
|
Test build #37605 has finished for PR 7451 at commit
|
|
rebased the code to resolve merge conflicts. |
|
Jenkins, retest this please. |
|
Test build #37646 has finished for PR 7451 at commit
|
|
Oops there is another conflict. I tried resolving this locally but it was a big one. Can you resolve it? |
|
yes, I've resolved it locally, push here again in a minute. |
|
Jenkins, retest this please. |
1 similar comment
|
Jenkins, retest this please. |
|
Thanks - I've merged this. |
|
Test build #1097 has finished for PR 7451 at commit
|
|
Test build #37676 has finished for PR 7451 at commit
|
JIRA:
https://issues.apache.org/jira/browse/SPARK-8280
https://issues.apache.org/jira/browse/SPARK-8281