[MCOL-179] DIV operator returns wrong result on 252 of 1179 tests Created: 2016-06-23 Updated: 2020-05-12 Resolved: 2019-12-10 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Justin Swanhart (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Epic Link: | ColumnStore Compatibility Improvements | ||||||||
| Sprint: | 2019-06 | ||||||||
| Description |
|
git clone https://github.com/greenlion/columnstore_tests.git |
| Comments |
| Comment by Daniel Lee (Inactive) [ 2018-05-04 ] |
|
Build tested: 1.1.4-1 Autopilot tests also reported the following issues: test case: DIV.NM.sql |
| Comment by David Hall (Inactive) [ 2019-07-17 ] |
|
When dealing with integers, it's possible that CS is properly rounding and MyISAM is not. Need to check in what is supposed to happen. There are more failures than that, so look. |
| Comment by David Hall (Inactive) [ 2019-07-31 ] |
|
There are three reasons for the mis-compare: 1) Columnstore rounds the answer, whilst InnoDB truncates. I have submitted a PR for this such that Columnstore doesn't round. |
| Comment by David Hall (Inactive) [ 2019-07-31 ] |
|
This can be closed. Some are won't fix, some are fixed. |
| Comment by David Hall (Inactive) [ 2019-12-10 ] |
|
QA: compare DIV against InnoDB for Integer types. |
| Comment by Daniel Lee (Inactive) [ 2019-12-10 ] |
|
Build verified: 1.2.6-1 engine commit: This rounding issue has been fixed. The Autopilot features.functions test, DIV test case has much less difference now. Remaining difference is due to other know behavior (supported value range for data types) |