[MCOL-5205] UNION on signed and unsigned integer types returns incorrect results Created: 2022-08-23 Updated: 2023-02-28 Resolved: 2023-02-28 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MDB Plugin |
| Affects Version/s: | None |
| Fix Version/s: | 23.02.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jigao Luo | Assignee: | Jigao Luo |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | beginner-friendly, contribution, gsoc22 | ||
| Issue Links: |
|
||||||||
| Assigned for Review: | |
||||||||
| Assigned for Testing: | |
||||||||
| Description |
|
Here is an example SQL script with wrong outputs when UNOIN of MCS computes with signed and unsigned integers. The results are all wrong.
The correct output should be the same under the innodb engine, so we change the second line in the script above to `SET default_storage_engine=InnoDB;`:
|
| Comments |
| Comment by Jigao Luo [ 2022-08-23 ] |
|
Hi everyone. I have detected this bug during my development and optimization of UNION in MCS.
|
| Comment by Gagan Goel (Inactive) [ 2023-02-28 ] |
|
For QA: Instructions for reproduction are in the ticket description. |
| Comment by Daniel Lee (Inactive) [ 2023-02-28 ] |
|
Build verified: Verified with the test case in the description. ColumnStore results now matching InnoDB results. |