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

Different trailing behaviour between columnstore and innodb

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.1.5, 1.2
    • Fix Version/s: Icebox
    • Component/s: ExeMgr
    • Labels:
      None
    • Environment:
      Tested on Debian 9, MCS 1.1.5

      Description

      Another different behaviour regarding trailing spaces between InnoDB and Columnstore.

      Coliumnstore engine:

      CREATE TABLE `save` (
      `code` varchar(255) DEFAULT NULL
      ) ENGINE=Columnstore DEFAULT CHARSET=utf8
      ;
       
      INSERT INTO save
      VALUES
      ('15 hours '),
      ('14 hours');
       
      select code
      from save
      where code IN ('15 hours ', '14 hours');
      

       select code
        from save
       where code IN ('15 hours ', '14 hours');
      +----------+
      | code     |
      +----------+
      | 14 hours |
      +----------+
      1 row in set, 1 warning (0.08 sec)
      
      

      InnoDB:

      DROP table if exists `save2`;
       
      CREATE TABLE `save2` (
      `code` varchar(255) DEFAULT NULL
      ) ENGINE=Innodb DEFAULT CHARSET=utf8
      ;
       
      INSERT INTO save2
      VALUES
      ('15 hours '),
      ('14 hours');
       
      select code
      from save2
      where code IN ('15 hours ', '14 hours');
      

      select code from save2 where code IN ('15 hours ', '14 hours');
      +-----------+
      | code      |
      +-----------+
      | 15 hours  |
      | 14 hours  |
      +-----------+
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              David.Hall David Hall
              Reporter:
              Richard Richard Stracke
              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.