Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.1.3
-
CDP7.1.7 ,RedHat7.6
-
Reviewed
-
Patch
Description
The trunc function has a problem with precision interception and the result has many 0,There is a problem with the return when the data is of decimal type, and it is displayed normally when the data is of double type。The test is as follows:
1:Execute on beeline:
SELECT trunc(15.8963,3);
------------------------
_c0 |
------------------------
15.896000000000000000 |
------------------------
1 row selected (0.074 seconds)
need return “15.896”is correct。
Attachments
Issue Links
- links to