-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
Description
The connector claims support for decimal with negative scale
trino/plugin/trino-sqlserver/src/main/java/io/trino/plugin/sqlserver/SqlServerClient.java
Lines 635 to 636 in ec36302
| // TODO does sql server support negative scale? | |
| int precision = columnSize + max(-decimalDigits, 0); // Map decimal(p, -s) (negative scale) to decimal(p+s, 0). |
it's not tested and may not work
Reactions are currently unavailable