BiteTheDDDDt opened a new issue #8225: URL: https://github.com/apache/incubator-doris/issues/8225
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Version master ### What's Wrong? ```sql select mod(abs(k2), 2), mod(k3, 6), mod(k5, -4) from test where mod(abs(k2), 2) = 0 order by k1, k2, k3, k4,k5; ``` There have some problems: 1. arithmetic function logic is diffrent with arithmetic expr, so i make sql parser parse arithmetic function to arithmetic expr. 2. clang decimal arithmetic calculate get wrong result because of overload error. ### What You Expected? fix it. ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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