Open kennytm opened 3 years ago
RDBMS | Result |
---|---|
SQLite3 | Infinity |
MariaDB | 0 (but is actually infinity) |
PostgreSQL | 22003 value out of range: overflow |
MS SQL | Arithmetic overflow error converting expression to data type float. |
Oracle | Inf (for BINARY_DOUBLE type) |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
some
DOUBLE value is out of range
error3. What did you see instead (Required)
Note that the result is not a zero, but an actual Infinity.
MySQL 8.0 has got the same problem 🙃.
4. What is your TiDB version? (Required)