-
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
executor: Fix issue that in expression with null constant produces unexpected cast warnings #49460
Conversation
…ration Signed-off-by: yibin <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @yibin87. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #49460 +/- ##
===========================================
Coverage 70.9865% 70.9865%
===========================================
Files 1368 1368
Lines 399849 399849
===========================================
Hits 283839 283839
Misses 96192 96192
Partials 19818 19818
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: yibin <[email protected]>
Signed-off-by: yibin <[email protected]>
@yibin87: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
This fix will change "select str_to_date('2007-10-00 12:34','%Y-%m-%d %H:%i') = '2007-10-00 12:34';" execution behavior: |
What problem does this PR solve?
Issue Number: close #49015
Problem Summary:
What changed and how does it work?
For comparisons which contains constant null as parameter, if field types are not the same, set null constant's field type as the other one's to avoid useless cast.
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.