LiBinfeng-01 opened a new pull request, #43490:
URL: https://github.com/apache/doris/pull/43490
pick: #42256
Add a trait PropagateNullLiteral, which ensures that if any of its input
parameters is a null literal, the output will also be a null literal. Note that
PropagateNullable also has this property. Due to limitations in the
GeneratedExpressionRelations map, most functions that implement alwaysNullable
are included in PropagateNullLiteral. Therefore, defining a function that is
PropagateNullable but not PropagateNullLiteral is not currently allowed.
function lists:
Acos AppendTrailingCharIfAbsent Asin BitmapFromArray BitmapFromBase64
BitmapFromString BitmapMax BitmapMin BitmapSubsetInRange BitmapSubsetLimit
ConvertTz CryptoFunction DayFloor Date DateFormat Divide DigitalMasking Dlog10
Dsqrt Fmod FromBase64 FromDays GetJsonDouble GetJsonString HourCeil HourFloor
IntegralDivide Lpad Ln Log10 Log2 Mod MonthCeil MonthFloor Pmod ParseUrl Rpad
Repeat RegexpExtract RegexpExtractAll RegexpReplace RegexpReplaceOne SecondCeil
SplitPart Sqrt StAngle StAngleSphere StAreaSquareKm StAreaSquareMeters
StDistanceSphere StGeomFromWKB StGeomfromtext StGeometryfromtext StLinefromtext
StPoint StPolygon StPolyfromtext StX StY StrToDate SubReplace ToDate ToDateV2
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]