-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
expression: fix wrong behavior for IF(not_int, *, *) #15016
Conversation
Codecov Report
@@ Coverage Diff @@
## master #15016 +/- ##
===========================================
Coverage ? 80.2193%
===========================================
Files ? 503
Lines ? 130921
Branches ? 0
===========================================
Hits ? 105024
Misses ? 17592
Partials ? 8305 |
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.
Well done.
Could you help fix CASE
function in this PR either? See #11601 (comment)
A separated PR is OK, likewise. |
|
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
A very similar PR is #15309, please take a glance after reviewing this PR 😄 |
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! NICE!
Your auto merge job has been accepted, waiting for 15309 |
/run-all-tests |
cherry pick to release-2.1 in PR #15355 |
cherry pick to release-3.0 in PR #15356 |
What problem does this PR solve?
fix #11601
What is changed and how it works?
original issue was cause by using
types.ETInt
for arg0 rounding float to int. This PR usingwrapWithIsTrue
ofisTrueOrFalseFunctionClass
to handle different types correctly convert to int.Check List
Tests
Code changes
Side effects
Related changes
Release note