Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
5.5.2
-
2021-7
Description
This ticket is for 5.6.1 only. Testing in 6.1.1 will need to wait until MCOL-4612 is MERGED into develop branch
DROP TABLE IF EXISTS t1; |
CREATE TABLE t1 (a DECIMAL(17,1), b BIGINT) ENGINE=ColumnStore; |
INSERT INTO t1 VALUES (9999999999999999.9, 999999999999999999); |
SELECT * FROM (SELECT a FROM t1 UNION SELECT b FROM t1) tu; |
+-----------------------+
|
| a |
|
+-----------------------+
|
| 9999999999999999.9 |
|
| -844674407370955162.6 |
|
+-----------------------+
|
Looks wrong.
Note, the problem cannot be repeated in 6.x because of MCOL-4612
But perhaps it still exists. MCOL-4612 needs to be fixed first to verify it further in 6.x.
Attachments
Issue Links
- is blocked by
-
MCOL-4612 A subquery with a union for DECIMAL and BIGINT returns zeros
- Closed
- relates to
-
MCOL-4361 Replace pow(10.0, (double)scale) expressions with a static dictionary lookup.
- Closed
-
MCOL-641 Full DECIMAL support in ColumnStore
- Closed
-
MCOL-4700 Wrong result of a UNION for INT and INT UNSIGNED
- Closed
- split to
-
MCOL-4705 Retest MCOL-4613 in 6.1.1 given that the blocking fix for MCOL-4612 is merged into develop branch
- Closed