-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-20948][SQL] Built-in SQL Function UnaryMinus/UnaryPositive support string type #18173
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
|
Test build #77635 has finished for PR 18173 at commit
|
|
Test build #77638 has finished for PR 18173 at commit
|
|
Test build #78173 has finished for PR 18173 at commit
|
|
Test build #78175 has finished for PR 18173 at commit
|
Conflicts: sql/core/src/test/resources/sql-tests/inputs/operators.sql sql/core/src/test/resources/sql-tests/results/operators.sql.out
|
Test build #78195 has finished for PR 18173 at commit
|
|
@gatorsmile It's same to ABS function support string type. |
gatorsmile
left a comment
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.
LGTM
|
Thanks! Merging to master. |
What changes were proposed in this pull request?
Built-in SQL Function UnaryMinus/UnaryPositive support string type, if it's string type, convert it to double type, after this PR:
How was this patch tested?
unit tests