Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](decimalv2) update set with a decimal literal overflowed make be…
… crash (#30653) Issue Number: close #30449 After change: 1. if we do not set allow_invalid_decimalv2_literal=true in be, we got following error message: > update test_7 SET value = 0.1234567890123 WHERE id = '123'; ERROR 1105 (HY000): errCode = 2, detailMessage = failed to execute update stmt, query id: 3e1144db6f0d41eb-bb1a43e3c73a62c8, err: errCode = 2, detailMessage = (127.0.0.1)[INVALID_ARGUMENT]Invalid decimal(scale: 9) value: 0.1234567890123 2. if we set allow_invalid_decimalv2_literal=true in be, we can update successfully and the decimal literal is truncated.
- Loading branch information