morrySnow opened a new pull request, #68071:
URL: https://github.com/apache/doris/pull/68071

   ### What problem does this PR solve?
   
   Related PRs: #64881, #65319
   
   Problem Summary:
   
   Backport the two related constant-folding fixes to branch-4.1 in one PR. 
They align FE folding with BE execution for affected string, URL, 
floating-point, date/time, decimal, and `str_to_date` expressions.
   
   Both changes are kept together because #65319 follows up on #64881, 
including the correct `FIELD` behavior for signed zero while preserving the 
existing `NaN` match behavior. The string regression assertions are moved from 
master's `test_string_all` suite into the corresponding `test_string_function` 
suite used by branch-4.1.
   
   ### Release note
   
   Fix incorrect FE constant-folded results for the affected expressions.
   
   ### Check List (For Author)
   
   - Test
       - [x] Unit Test
       - [x] Regression test coverage included
   - Behavior changed:
       - [x] Yes. FE constant folding now matches BE execution for the covered 
expressions.
   - Does this need documentation?
       - [x] No.
   
   Test details:
   
   - Targeted FE unit tests: 29 run, 0 failures, 0 errors, 2 pre-existing skips.
   - Full FE Maven reactor: `BUILD SUCCESS`.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


-- 
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]

Reply via email to