xzj7019 commented on code in PR #49416: URL: https://github.com/apache/doris/pull/49416#discussion_r2011218660
########## regression-test/suites/nereids_p0/expression/fold_constant/fold_constant_string_arithmatic.groovy: ########## @@ -1723,5 +1723,10 @@ suite("fold_constant_string_arithmatic") { testFoldConst("select split_by_string('a😁a😁a', '')") testFoldConst("select character_length('a😁a😁a')") testFoldConst("select replace_empty('a😁a😁a', '', '2')") + + // bug_fix + testFoldConst("select concat(substr('2025-03-20',1,4)-1,'-01-01')") Review Comment: check the behavior like 'concat(substr('2025-03-20',1,4)-1.0' and 'concat(substr('2025-03-20',1,4)-0.5', compatiable with mysql? -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org