[MCOL-3578] rank() works, max() window function does not in otherwise identical query Created: 2019-10-28 Updated: 2023-07-02 Resolved: 2023-07-02 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | N/A |
| Affects Version/s: | 1.2.5 |
| Fix Version/s: | Icebox |
| Type: | Task | Priority: | Major |
| Reporter: | Patrick LeBlanc (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Environment: |
ubuntu 18 LTS. 1UM, 2 PMs. |
||
| Description |
|
Greg & I are diagnosing remaining scalability issues with the denormalized 50gb dbt3 data set, ran into a bug, where the max() window function + a group by of 500k keys will cause an infinite loop in a single thread. It is based query 15 in the dbt3 set. We've simplified it (and made it nonsensical) to make it clear. I assume it is independent of the size of the data or the fact it is denormalized, so it is likely reproducible with the standard dbt3 load. Replace the denorm table with supplier. A version of the query that works: Version that doesn't work |
| Comments |
| Comment by David Hall (Inactive) [ 2019-11-11 ] |
|
The query does finish, just after a very long time. |
| Comment by Todd Stoffel (Inactive) [ 2023-07-02 ] |
|
The "create date" on this ticket is pre-convergence with MariaDB server. If the issue still exists in a modern version of the engine/plugin please submit a new ticket. |