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

0000-00-00 dates are not supported and are munged to NULL with no warnings

    XMLWordPrintable

Details

    • 1.0.3

    Description

      create table t2(d date, dt datetime) engine=columnstore;

      MariaDB [test]> insert into t2 values ('0000-00-00','0000-00-00');
      Query OK, 1 row affected (0.25 sec)

      MariaDB [test]> select * from t2;
      ----------+

      d dt

      ----------+

      NULL NULL

      ----------+
      1 row in set (0.06 sec)

      MariaDB [test]> select * from t2 where dt='0000-00-00';
      Empty set (0.00 sec)

      MariaDB [test]> select * from t2 where dt is null;
      ----------+

      d dt

      ----------+

      NULL NULL

      ----------+
      1 row in set (0.01 sec)

      Attachments

        Issue Links

          Activity

            People

              dleeyh Daniel Lee (Inactive)
              jswanhart Justin Swanhart (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.