I noticed that the timestampadd function appears to return a different result in tidb as compared to mysql, e.g. select timestampadd(month,1,date '2024-01-31') in MySQL will return ‘2024-02-29’ , whereas in
tidb (docker version) it returns ‘2024-03-02’, which I believe is not correct
Is this a known issue and, if so, is there a workaround?
We already reported a bug to MySQL https://bugs.mysql.com/bug.php?id=109941, and have been verified as a bug by MySQL Verification Team. Thanks, please stay tuned.