-
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: the quote function should treat null expr as NULL literal string instead of NULL #11592
Conversation
Hi contributor, thanks for your PR. This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically. |
Codecov Report
@@ Coverage Diff @@
## master #11592 +/- ##
===========================================
Coverage 81.2404% 81.2404%
===========================================
Files 426 426
Lines 92033 92033
===========================================
Hits 74768 74768
Misses 11893 11893
Partials 5372 5372 |
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
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
/run-all-tests |
@gaoxingliang merge failed. |
/run-all-tests |
cherry pick to release-2.1 failed |
cherry pick to release-3.0 in PR #11619 |
Could anyone resolve this? |
Thanks for your remind, see #11592 |
…upstream-release-2.1
What problem does this PR solve?
Fix #11556 QUOTE(null) should return 'NULL' string instead of NULL value
What is changed and how it works?
if the expr is NULL, then the value for quote(expr) will be "NULL" instead of NULL.
Check List
Tests
Side effects