[MCOL-3804] CLONE - group_concat with distinct concatenates even non-distinct values Created: 2020-02-18 Updated: 2020-03-17 Resolved: 2020-03-17 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | 1.0.15, 1.1.6, 1.2.2 |
| Fix Version/s: | 1.2.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Patrick LeBlanc (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
If the group_concat contains distinct together with sorting over non-distinct column CS concatenates distinct values multiple times. Here is the setting:
|
| Comments |
| Comment by Daniel Lee (Inactive) [ 2020-03-17 ] | ||
|
Build verified: 1.2.6-1 BB engine commit: [root@localhost ~]# mcsmysql mytest Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [mytest]> create table cs1 (i bigint, a bigint) engine=columnstore; MariaDB [mytest]> insert into cs1 values (1,2),(1,3),(2,5),(1,42); MariaDB [mytest]> select group_concat(distinct i order by a) s from cs1;
------
------ |