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

Crash with LEAD function in ColumnStore with 'char' field type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.11
    • Fix Version/s: 1.0.12, 1.1.1
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2017-21

      Description

      Steps to reproduce:

      Install base columnstore package mariadb-columnstore-1.0.11-1-x86_64-stretch
      postConfigure uses defaults, single server install.

      use test;
      create table ct1 (a int, b char) engine=columnstore;
       
      insert into ct1 values (1, 'a'), (2, 'b'), (3, NULL);
      select lead(a) over (order by a) from ct1;  -- Correct result
      select lead(b, 1, 'T') over (order by a) from ct1;  -- Correct result
      select lead(b) over (order by a) from ct1;  -- Crash happens here
      select lead(b, 1, NULL) over (order by a) from ct1;  -- This also crashes
      

       
      MariaDB [test]> select lead(b, 1, NULL) over (order by a) from ct1;
      ERROR 1815 (HY000): Internal error: InetStreamSocket::readToMagic: Remote is closed
      MariaDB [test]> select lead(b, 3, NULL) over (order by a) from ct1;
      ERROR 1815 (HY000): Internal error: InetStreamSocket::readToMagic: Remote is closed
      

        Attachments

          Activity

            People

            Assignee:
            dleeyh Daniel Lee
            Reporter:
            cvicentiu Vicențiu Ciorbaru
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.