[MCOL-78] ROUND() function returns incorrect value Created: 2016-05-23 Updated: 2016-10-05 Resolved: 2016-10-05 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Daniel Lee (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 1.0.2-1, 1.0.2-2, 2016-19 | ||||||||
| Description |
|
Build tested: InfiniDB> getcalpontsoft Name : infinidb-platform Relocations: (not relocatable) ColumnStore returns: select cidx, CDECIMAL1, ROUND(CDECIMAL1,-1) from datatypetestm order by cidx cidx CDECIMAL1 ROUND(CDECIMAL1,-1) MySQL and MariaDB returns: select cidx, CDECIMAL1, ROUND(CDECIMAL1,-1) from datatypetestm order by cidx cidx CDECIMAL1 ROUND(CDECIMAL1,-1) |
| Comments |
| Comment by Dipti Joshi (Inactive) [ 2016-05-31 ] | ||||||||||||||||||||||||||||||||||||
|
dleeyh Is this still happening ? Your autopilot results that you shared on May 24th was showing that ROUND function is still working. | ||||||||||||||||||||||||||||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2016-09-07 ] | ||||||||||||||||||||||||||||||||||||
|
Review done. Good fix! | ||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2016-09-13 ] | ||||||||||||||||||||||||||||||||||||
|
Build tested: getsoftwareinfo Tue Sep 13 16:53:08 2016 Name : mariadb-columnstore-platform This build does not have the fix. MariaDB [mytest]> select cidx, CDECIMAL1, ROUND(CDECIMAL1,-1) from datatypetestm order by cidx;
-----
----- | ||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2016-09-15 ] | ||||||||||||||||||||||||||||||||||||
|
Build tested: mscadmin> getsoft Name : mariadb-columnstore-platform The fix is in the build, not working. The issue still exists.
-----
----- | ||||||||||||||||||||||||||||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2016-09-15 ] | ||||||||||||||||||||||||||||||||||||
|
confirmed, patch does not fix the problem | ||||||||||||||||||||||||||||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2016-09-24 ] | ||||||||||||||||||||||||||||||||||||
|
Ben: can you open a pull request for your fix? Then I can review it | ||||||||||||||||||||||||||||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2016-09-26 ] | ||||||||||||||||||||||||||||||||||||
|
Moving to Daniel for QA. Real fix should be in there now | ||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2016-10-05 ] | ||||||||||||||||||||||||||||||||||||
|
Build verified: 1.0.4-1 mcsadmin> getsoft Name : mariadb-columnstore-platform MariaDB [mytest]> select cidx, CDECIMAL1, ROUND(CDECIMAL1,-1) from datatypetestm order by cidx
-----
----- |