Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.7.1
Description
Add truncate support in TableAPI, Add support as follows:
expression | Expect the result |
---|---|
truncate(cast(42.345 as decimal(2, 3)), 2) | 42.34 |
truncate(42, -1) | 40 |
truncate(42.324) | 42.0 |
Attachments
Issue Links
- links to