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

column alias for NULL lost in resultssets, if in conjunction with most functions.

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.2.5
    • 23.10.3
    • N/A
    • None

    Description

      To reproduce:

      create database nulltest;
      use nulltest;
      CREATE TABLE `nulltestcol` (`a` int(11)) ENGINE=Columnstore;
      insert into nulltestcol (a) values(1);
      

      SELECT now() , NULL as alias3 FROM nulltestcol;

      MariaDB [bugtest]> SELECT now() , NULL as alias3 FROM nulltestcol;
      +---------------------+------+
      | now()               | NULL |
      +---------------------+------+
      | 2020-06-25 09:53:07 | NULL |
      +---------------------+------+
      1 row in set (0.02 sec)
      

      Works with Innodb table or without "from clause" fine.

      with 1.4 / 1.5 it works.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Richard Richard Stracke
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.