You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DataFusion CLI v30.0.0
❯ selectcast('1000' as decimal(10,8));
+--------------+
| Utf8("1000") |
+--------------+
| 10.00000000 |
+--------------+
1 row in set. Query took 0.045 seconds.
To Reproduce
No response
Expected behavior
It should raise an overflow error, like in PostgreSQL.
postgres=# select cast('1000' as decimal(10,8));
ERROR: numeric field overflow
DETAIL: A field with precision 10, scale 8 must round to an absolute value less than 10^2
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
To Reproduce:
To Reproduce
No response
Expected behavior
It should raise an overflow error, like in PostgreSQL.
Additional context
No response
The text was updated successfully, but these errors were encountered: