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

CHAR datatype doesn't accept string with spaces only

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • 1.1.4
    • Icebox
    • MariaDB Server
    • None

    Description

      Execute:

      create table db_db.f_edk
      (COL14_CHAR char NOT NULL,
      COL17_CHAR_1 char(1) NOT NULL,
      COL18_CHAR_255 char(255) NOT NULL
      ) engine=ColumnStore;
       
      insert into db_db.f_edk values ('  ',' ','  ');
      

      Result:
      Error Code: 1815. Internal error: CAL0001: Insert Failed: IDB-4015: Column 'COL14_CHAR' cannot be null.

      Error is displayed for every char column in the table.

      Additional notes:
      The string with many spaces is successfully inserted in field of varchar and text datatypes

      Attachments

        Activity

          People

            LinuxJedi Andrew Hutchings (Inactive)
            elena.kotsinova Elena Kotsinova (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.