Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
5.6.1, 6.1.1
-
None
Description
ColumnStore does not support all possible numeric data type pairs in JOINs. For example:
SET default_storage_engine=ColumnStore; |
DROP TABLE IF EXISTS t1,t2; |
CREATE TABLE t1 (a FLOAT); |
INSERT INTO t1 VALUES (1); |
CREATE TABLE t2 (a TINYINT); |
INSERT INTO t2 VALUES (1); |
SELECT * FROM t1,t2 WHERE t1.a=t2.a; |
ERROR 1815 (HY000): Internal error: IDB-1002: 't1' and 't2' have incompatible column type specified for join condition.
|
Here's the full table:
TINYINT SMALLINT MEDIUMINT INT BIGINT DECIMAL(10,0) DECIMAL(10,1) FLOAT DOUBLE
|
TINYINT OK OK OK OK OK OK IDB-1002 IDB-1002
|
SMALLINT OK OK OK OK OK OK IDB-1002 IDB-1002
|
MEDIUMINT OK OK OK OK OK OK IDB-1002 IDB-1002
|
INT OK OK OK OK OK OK IDB-1002 IDB-1002
|
BIGINT OK OK OK OK OK OK IDB-1002 IDB-1002
|
DECIMAL(10,0) OK OK OK OK OK OK IDB-1002 IDB-1002
|
DECIMAL(10,1) IDB-1002 IDB-1002 IDB-1002 IDB-1002 IDB-1002 IDB-1002 OK OK
|
FLOAT IDB-1002 IDB-1002 IDB-1002 IDB-1002 IDB-1002 IDB-1002 IDB-1002 IDB-1002
|
DOUBLE IDB-1002 IDB-1002 IDB-1002 IDB-1002 IDB-1002 IDB-1002 IDB-1002 IDB-1002
|
Under terms of this task will allow all combinations that currently return IDB-1002.
Attachments
Issue Links
Activity
Rank | Ranked higher |
Fix Version/s | 6.5.1 [ 25801 ] | |
Fix Version/s | 6.1.1 [ 25600 ] |
Rank | Ranked higher |
Assignee | Alexander Barkov [ bar ] |
Fix Version/s | 6.4.1 [ 26046 ] |
Fix Version/s | 6.3.1 [ 25801 ] |
Fix Version/s | 22.08 [ 26904 ] | |
Fix Version/s | 6.4.1 [ 26046 ] |
Fix Version/s | 23.02 [ 28209 ] | |
Fix Version/s | 22.08 [ 26904 ] |
Fix Version/s | 23.08 [ 28540 ] | |
Fix Version/s | 23.02 [ 28209 ] |
Rank | Ranked lower |
Fix Version/s | 23.10 [ 28540 ] |
Fix Version/s | Icebox [ 22302 ] |