[MCOL-3472] ROUND() returns incorrect result Created: 2019-09-04  Updated: 2023-03-06  Resolved: 2023-03-06

Status: Closed
Project: MariaDB ColumnStore
Component/s: N/A
Affects Version/s: 1.4
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: Daniel Lee (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None

Issue Links:
Relates
relates to MCOL-4255 function ROUND incorrect for DATE type Closed

 Description   

Build tested: 1.4.0-1

[dlee@master centos7]$ cat gitversionInfo.txt
server commit:
67452bc
engine commit:
4d2a159

Autopilot test case features.functions

select cidx, CDECIMAL1, ROUND(CDECIMAL1,-1) from datatypetestm order by cidx
--------------

cidx CDECIMAL1 ROUND(CDECIMAL1,-1)
1 -9 -9
1 row in set

Reference returns -10. This tests also works correctly in 1.2.4-1



 Comments   
Comment by Todd Stoffel (Inactive) [ 2023-03-06 ]

This ticket was opened prior to convergence with the server. It may have been rendered obsolete. If this issue still exists in a modern version, please open a new request.

Generated at Thu Feb 08 02:42:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.