[MCOL-131] Cartesian product should be supported Created: 2016-06-12 Updated: 2023-12-15 |
|
| Status: | Stalled |
| Project: | MariaDB ColumnStore |
| Component/s: | N/A |
| Affects Version/s: | None |
| Fix Version/s: | 23.10 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Justin Swanhart (Inactive) | Assignee: | Denis Khalikov |
| Resolution: | Unresolved | Votes: | 6 |
| Labels: | Compatibility | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Epic Link: | ColumnStore Compatibility Improvements | ||||||||||||||||||||||||
| Sprint: | 2018-08, 2018-16 | ||||||||||||||||||||||||
| Description |
|
mysql> create table t2_c(c1 int) engine=columnstore; mysql> create table t1_c(c1 int) engine=columnstore; mysql> select t1_c.* from t1_c join t2_c; Needed for TPC-DS |
| Comments |
| Comment by Justin Swanhart (Inactive) [ 2016-06-12 ] | ||||||||||||||||||||||||||||||
|
Happens with joins between storage engines too:
------
------ mysql> select * from t2_m;
------
------ mysql> select t1_c.* from t1_c join t2_m; works if both tables are MyISAM:
------
------ | ||||||||||||||||||||||||||||||
| Comment by Andrew Hutchings (Inactive) [ 2017-11-27 ] | ||||||||||||||||||||||||||||||
|
further test case in | ||||||||||||||||||||||||||||||
| Comment by Richard Stracke [ 2018-06-11 ] | ||||||||||||||||||||||||||||||
|
another Testcase:
With same datatype it works.
Also with | ||||||||||||||||||||||||||||||
| Comment by David Hill (Inactive) [ 2019-08-14 ] | ||||||||||||||||||||||||||||||
|
We have another customer pushing for this fix. Its causing them issue without out and looking to moe back into using InnoDB tables more over columnstore. | ||||||||||||||||||||||||||||||
| Comment by suresh ramagiri [ 2020-05-20 ] | ||||||||||||||||||||||||||||||
|
One of the customers, reported that their LEFT JOIN query using "LIKE" throwing error: IDB-1000: 't1' and 't2' are not joined select * from t1 left join t2 on t1.v like concat("%", t2.i); Here is the test case: mysql> select * from t1 left join t2 on t1.v like concat("%", t2.i); I could reproduce the same at CS 1.2.5 locally, so changing the infinidb_vtable_mode to 0 or 2 making the JOIN query to work, but that doesn't look to be the solution. | ||||||||||||||||||||||||||||||
| Comment by JiraAutomate [ 2023-12-15 ] | ||||||||||||||||||||||||||||||
|
Automated message: |