morrySnow opened a new pull request, #64881:
URL: https://github.com/apache/doris/pull/64881
### What problem does this PR solve?
Issue Number: N/A
Related PR: N/A
Problem Summary: FE constant folding produced results different from BE
execution for several string, URL, time, and floating-point expressions. The
root causes were mixed UTF-16 and SQL character positions, Java Unicode and URI
semantics differing from BE ICU/raw parser behavior, UTF-16 string ordering
instead of UTF-8 byte comparison, microsecond rounding carry being dropped in
maketime, concat_ws null handling differences, and boxed floating comparisons
distinguishing -0.0 from 0.0. This PR aligns those FE executable folding paths
with BE behavior and adds testFoldConst coverage for the mismatched expressions.
### Release note
None
### Check List (For Author)
- Test: Unit Test
- mvn checkstyle:check -pl fe-core
- mvn -pl fe-core -am -DskipTests compile
- Behavior changed: No
- Does this need documentation: No
--
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]