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

COLLATE Trouble with Columnstore

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • 1.5.3
    • Icebox
    • PrimProc
    • None

    Description

      Only two of the utf8_ collation types work with Columnstore.

      1. utf8_general_ci
      2. utf8_bin

      All others result in NULL for Chinese characters.

      CREATE DATABASE IF NOT EXISTS test;
       
      DROP TABLE IF EXISTS test.chinesecs;
       
      CREATE TABLE test.chinesecs (english_name VARCHAR(50), chinese_name VARCHAR(50)) DEFAULT CHARACTER SET utf8 COLLATE utf8_nopad_bin ENGINE=columnstore;
       
      LOAD DATA LOCAL INFILE '~/Downloads/MOCK_DATA.csv' INTO TABLE test.chinesecs FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' IGNORE 1 LINES;
       
      SELECT * FROM test.chinesecs ORDER BY chinese_name LIMIT 100;
      

      Attachments

        Issue Links

          Activity

            People

              leonid.fedorov Leonid Fedorov
              toddstoffel Todd Stoffel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.