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

alter table rename column fails in ubuntu for char types

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.5.2
    • Fix Version/s: 22.08
    • Component/s: DDLProc
    • Labels:
      None

      Description

      See working_tpch1/misc/rename.negative.sql
      All the queries of type
      alter table qa_col_rename change CCHAR1 CCHAR1_R CHAR(1);
      using char or varchar fail on ubuntu 18.04 with
      ERROR 1815 (HY000) at line 165: Internal error: CAL0001: Alter table Failed: Changing the datatype of a column is not supported
      The datatype in the alter statement is the same as in the original create table.
      On CentOS 7 these same queries succeed.

      Create table qa_col_rename (
      CIDX INTEGER,
      CBIGINT BIGINT,
      CDECIMAL1 DECIMAL(1),
      CDECIMAL4 DECIMAL(4),
      CDECIMAL4_2 DECIMAL(4,2),
      CDECIMAL5 DECIMAL(5),
      CDECIMAL9 DECIMAL(9),
      CDECIMAL9_2 DECIMAL(9,2),
      CDECIMAL10 DECIMAL(10),
      CDECIMAL18 DECIMAL(18),
      CDECIMAL18_2 DECIMAL(18,2),
      CINTEGER INTEGER,
      CSMALLINT SMALLINT,
      CTINYINT TINYINT,
      CDATE DATE,
      CDATETIME DATETIME,
      CCHAR1 CHAR(1),
      CCHAR2 CHAR(2),
      CCHAR3 CHAR(3),
      CCHAR4 CHAR(4),
      CCHAR5 CHAR(5),
      CCHAR6 CHAR(6),
      CCHAR7 CHAR(7),
      CCHAR8 CHAR(8),
      CCHAR9 CHAR(9),
      CCHAR255 CHAR(255),
      CVCHAR1 VARCHAR(1),
      CVCHAR2 VARCHAR(2),
      CVCHAR3 VARCHAR(3),
      CVCHAR4 VARCHAR(4),
      CVCHAR5 VARCHAR(5),
      CVCHAR6 VARCHAR(6),
      CVCHAR7 VARCHAR(7),
      CVCHAR8 VARCHAR(8),
      CVCHAR255 VARCHAR(255)
      )engine=columnstore;

        Attachments

          Activity

            People

            Assignee:
            David.Hall David Hall
            Reporter:
            David.Hall David Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration

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