LiBinfeng-01 commented on code in PR #47966: URL: https://github.com/apache/doris/pull/47966#discussion_r1957816175
########## regression-test/suites/nereids_p0/expression/fold_constant/fold_constant_numeric_arithmatic.groovy: ########## @@ -196,8 +196,8 @@ suite("fold_constant_numeric_arithmatic") { //Cosh function cases testFoldConst("SELECT COSH(0) AS cosh_case_1") //cosh(0) = 1 -// expectException({sql "SELECT COSH(1E308)"}, "errCode = 2, detailMessage = Not Supported: Not Supported: Infinity result is invalid") -// expectException({sql "SELECT COSH(-1E308)"}, "errCode = 2, detailMessage = Not Supported: Not Supported: Infinity result is invalid") +// testFoldConst("SELECT COSH(1E308)") +// testFoldConst("SELECT COSH(-1E308)") Review Comment: COSH/POWER/DEGREES functions would meet inf problem when input is to large, be execute need to fix it -- 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