[MCOL-4615] GROUP_CONCAT() precision loss for huge narrow decimal Created: 2021-03-16 Updated: 2021-04-09 Resolved: 2021-04-09 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | PrimProc |
| Affects Version/s: | 5.5.1, 5.6.1, 6.1.1 |
| Fix Version/s: | 6.1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Sprint: | 2021-5, 2021-6 | ||||||||||||||||
| Description |
|
Looks wrong. The expected result is '-8999999999999999.9'. This happens because the underlying printing code in GroupConcator::outputRow() uses double representation. |
| Comments |
| Comment by Alexander Barkov [ 2021-03-17 ] | ||||||||||||||||
|
Update: The patch for However, the code still needs to be changed to use native TDecimal64 printing. | ||||||||||||||||
| Comment by Gagan Goel (Inactive) [ 2021-04-06 ] | ||||||||||||||||
|
For QA: Instructions to reproduce the issue and verify the fix works are in the issue description. | ||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2021-04-09 ] | ||||||||||||||||
|
Build verified: 6.1.1 ( Drone #2104 ) Reproduced the issue in 5.5.2-1 and verified fixed in 6.1.1
|