-
Notifications
You must be signed in to change notification settings - Fork 706
feat: Introducing JoinConditionTypeCoerceRule #663
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
| if (c.getOperands().stream().allMatch(x -> x instanceof RexInputRef)) { | ||
| var ref1 = (RexInputRef) c.getOperands().get(0); | ||
| var ref2 = (RexInputRef) c.getOperands().get(1); | ||
| return !SqlTypeUtil.equalSansNullability( |
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.
Does INT64 equal INT32 in this check?
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.
yes
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.
Hmmm... I just read some code and it seems not.
I am okay with both, just to make sure we know the behavior.
Codecov Report
@@ Coverage Diff @@
## main #663 +/- ##
============================================
- Coverage 71.35% 71.27% -0.09%
- Complexity 2699 2706 +7
============================================
Files 891 895 +4
Lines 50659 51228 +569
Branches 1723 1730 +7
============================================
+ Hits 36148 36511 +363
- Misses 13699 13902 +203
- Partials 812 815 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
What's changed and what's your intention?
RT
Checklist
Refer to a related PR or issue link (optional)
See #521