Wrong behavior on builtin function truncate
#7615
Labels
component/expression
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
type/bug
The issue is confirmed as a bug.
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
select truncate(9223372036854775808, -10);
TiDB don't handle the unsigned int case of this function.
tidb-server -V
or runselect tidb_version();
on TiDB)?master branch 129f499
The text was updated successfully, but these errors were encountered: