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

Columnstore LDI doesn't support charsets, particularly utf8mb4

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 1.5.2
    • 5.5.1
    • MDB Plugin
    • None

    Description

      create table chineseCS (english varchar(20), chinese varchar(20)) engine=innodb DEFAULT CHARACTER SET utf8mb4 collate utf8mb4_unicode_520_ci engine=columnstore;

      load data infile "/home/calpont/t.tbl" into table chineseCS character set utf8mb4 fields terminated by "|";

      select * from chineseCS;
      ------------------+

      english chinese

      ------------------+

      Abhorrent NULL
      Adamant NULL
      Agony NULL
      Antsy NULL
      Appall NULL

      ------------------+
      5 rows in set (0.146 sec)

      But using traditional insert, it works:

      truncate table chineseCS;
      insert into chineseCS values ("Abhorrent","可惡的"),("Adamant","精金"),("Agony","痛苦"),("Antsy","螞蟻"),("Appall","驚恐");

      select * from chineseCS;
      --------------------+

      english chinese

      --------------------+

      Abhorrent 可惡的
      Adamant 精金
      Agony 痛苦
      Antsy 螞蟻
      Appall 驚恐

      --------------------+
      5 rows in set (0.157 sec)

      Attachments

        Issue Links

          Activity

            People

              David.Hall David Hall (Inactive)
              David.Hall David Hall (Inactive)
              Votes:
              1 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.