doris
doris copied to clipboard
[vectorized](bug) fix some open enable_fold_constant_by_be failed cases
Proposed changes
when set enable_fold_constant_by_be = true
some cases of P0 will be failed, this pr fix some about BE, eg:
SELECT CAST('null' AS JSONB)
select cast ('2022-12-02 22:23:24.999999' as datetimev2(3))
SELECT repeat(\"a\", 3)
select version()
select cast(19888.8999999 as decimal(12,2))
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)
- [ ] Does it affect the original behavior
- [ ] Has unit tests been added
- [ ] Has document been added or modified
- [ ] Does it need to update dependencies
- [ ] Is this PR support rollback (If NO, please explain WHY)
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...
run p0
clang-tidy review says "All clean, LGTM! :+1:"
clang-tidy review says "All clean, LGTM! :+1:"
run buildall
run buildall
clang-tidy review says "All clean, LGTM! :+1:"
PR approved by at least one committer and no changes requested.
PR approved by anyone and no changes requested.