qidaye opened a new issue #7887: URL: https://github.com/apache/incubator-doris/issues/7887
### 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 ee0037e1af504e6945c3a5d0578f4a945f7e3f8f ### What's Wrong? ```sql mysql> select digital_masking(13012345678); +-------------------------+ | digital_masking(13012345678) | +-------------------------+ | 127****3790 | +-------------------------+ ``` ### What You Expected? ```sql mysql> select digital_masking(13012345678); +------------------------------+ | digital_masking(13012345678) | +------------------------------+ | 130****5678 | +------------------------------+ ``` ### How to Reproduce? See above. ### Anything Else? The default function arg in `digital_masking` is `INT`, which range is [-2147483648, 2147483647]. The reason of this wrong result is that the number `13012345678` is out of the range. ### Are you willing to submit PR? - [X] 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