-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-2209][SQL] Cast shouldn't do null check twice. #1143
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
|
Merged build triggered. |
|
Merged build started. |
|
Merged build finished. All automated tests passed. |
|
All automated tests passed. |
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.
How about merging these two if statements into 1 with &&?
|
LGTM. Making everything other than |
|
Merged build triggered. |
|
Merged build started. |
|
Merged build finished. All automated tests passed. |
|
All automated tests passed. |
|
Ok merging this in master & branch-1.0. |
Also took the chance to clean up cast a little bit. Too many arrows on each line before! Author: Reynold Xin <[email protected]> Closes #1143 from rxin/cast and squashes the following commits: dd006cb [Reynold Xin] Code review feedback. c2b88ae [Reynold Xin] [SPARK-2209][SQL] Cast shouldn't do null check twice. (cherry picked from commit c55bbb4) Signed-off-by: Reynold Xin <[email protected]>
Also took the chance to clean up cast a little bit. Too many arrows on each line before! Author: Reynold Xin <[email protected]> Closes apache#1143 from rxin/cast and squashes the following commits: dd006cb [Reynold Xin] Code review feedback. c2b88ae [Reynold Xin] [SPARK-2209][SQL] Cast shouldn't do null check twice.
Also took the chance to clean up cast a little bit. Too many arrows on each line before! Author: Reynold Xin <[email protected]> Closes apache#1143 from rxin/cast and squashes the following commits: dd006cb [Reynold Xin] Code review feedback. c2b88ae [Reynold Xin] [SPARK-2209][SQL] Cast shouldn't do null check twice.
…-2.4.4 (apache#1143) Co-authored-by: Egor Krivokon <>
Also took the chance to clean up cast a little bit. Too many arrows on each line before!