[MCOL-957] with cte self join query get alternating ambiguous column reference on repeat invocations Created: 2017-10-04 Updated: 2022-11-05 Resolved: 2022-11-05 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | 1.1.0 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | David Thompson (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Epic Link: | ColumnStore Compatibility Improvements |
| Description |
|
This was originally found with tpcds queries 39 and 64. The first invocation of the query will return:
but executing the exact same sql will return the correct results. A third time will have the error and so on. This only happens for columnstore tables not innodb so it does not appear to be a server bug. A simpler test case is:
I found a workaround which is adding an alias to the select list for c2.cnt e.g. c2.cnt c2_cnt, makes the query work consistently. |
| Comments |
| Comment by Todd Stoffel (Inactive) [ 2022-11-05 ] |
|
This item is being closed because it was well passed the expiration date with no activity. If you suspect this was done in error please create a new ticket. |