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

Improved support for NULL for Varchar/char/text/datetime/timestamp + ?

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • None
    • 23.10.0
    • None

    Description

      I suspect this is related to MCOL-171.

      MariaDB [sakila]> create table t2 (a varchar(255)) engine=columnstore;Query OK, 0 rows affected (0.61 sec)

      MariaDB [sakila]> insert into t2 values ('');
      Query OK, 1 row affected (0.26 sec)

      MariaDB [sakila]> select * from t2;
      ------

      a

      ------

      NULL

      ------
      1 row in set (0.10 sec)

      MariaDB [sakila]> create table t1 (a varchar(255) not null) engine=columnstore;
      Query OK, 0 rows affected (0.53 sec)

      MariaDB [sakila]> insert into t1 values ('');
      ERROR 1815 (HY000): Internal error: CAL0001: Insert Failed: IDB-4015: Column 'a' cannot be null.

      --------------------------
      external effects on NULL where clause used in appications

      https://docs.google.com/document/d/1dZ6jlp3_tZ0NPQp9LXG0sFVvrMvJOKGTNwwVy80SCws/edit

      Attachments

        Issue Links

          Activity

            People

              sergey.zefirov Sergey Zefirov
              LinuxJedi Andrew Hutchings (Inactive)
              Roman Roman
              Votes:
              1 Vote for this issue
              Watchers:
              13 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.