TIMEDIFF
with fraction doesn't function in TiDB
#31680
Labels
affects-4.0
This bug affects 4.0.x versions.
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects the 5.4.x(LTS) versions.
severity/major
sig/execution
SIG execution
type/bug
The issue is confirmed as a bug.
Bug Report
TIMEDIFF(expr1,expr2) returns expr1 − expr2 expressed as a time value.
TiDB returns NULL values in time data with fraction in default sql mode.
1. Minimal reproduce step
2. What did you expect to see?
3. What did you see instead
4. What is your TiDB version?
The text was updated successfully, but these errors were encountered: