Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-3804

CLONE - group_concat with distinct concatenates even non-distinct values

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.0.15, 1.1.6, 1.2.2
    • 1.2.6
    • ExeMgr
    • None

    Description

      If the group_concat contains distinct together with sorting over non-distinct column CS concatenates distinct values multiple times.

      Here is the setting:

      create table cs1 (i bigint, a bigint) engine=columnstore;
      insert into cs1 values (1,2),(1,3),(2,5),(1,42);
      

      MariaDB [tpch1]> select group_concat(distinct i order by a) s from cs1;
      +---------+
      | s       |
      +---------+
      | 1,1,2,1 |
      +---------+
      1 row in set (0.031 sec)
      

      Attachments

        Issue Links

          Activity

            People

              dleeyh Daniel Lee (Inactive)
              pleblanc Patrick LeBlanc (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.