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

ifnull function does not work on datetime datatype.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Not a Bug
    • 1.0.7
    • Icebox
    • MariaDB Server
    • None
    • Linux Redhat
    • 2017-3

    Description

      The ifnull() function does not work on the datetime data type in mariaDB CS.

      Test case:

      create table test_nulls_infini
      (name varchar(100),
      dbdate datetime
      )engine=infinidb
      ;

      insert into test_nulls_infini values('test', null)
      ;

      select ifnull(dbdate,now())
      from test_nulls_infini
      ;

      Attachments

        Activity

          People

            LinuxJedi Andrew Hutchings (Inactive)
            nivij Nivesh
            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.