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

COALESCE and DAYOFYEAR nesting in outer join leads to wrong output in Columnstore

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Major
    • Resolution: Unresolved
    • 6.2.3, 23.02.3, 23.10.0, 5.6.8
    • Icebox
    • None
    • None
    • ebi01:
      CentOS Linux release 7.6.1810
      10.3.16-MariaDB
      Columnstore 1.2.5-1

      ebi04:
      Red Hat Enterprise Linux release 8.2
      10.5.10-MariaDB MariaDB Server
      Columnstore_version 5.5.2

    Description

      See the attached SQL EBI-499_bug_exposal_dummy.sql: the lines with "!!!" expose the bug when tested against dummy data tables on both EBI01 and EBI04 (MariaDB 10.3 and 10.5).
      The problem are the MAX_INT values that must not occur when using COALESCE in the green boxes (and do not occur using InnoDB engine).

      TODOs:

      • check whether only Columnstore or also InnoDB is affected ==> DONE: only Columnstore
      • simplify the bug exposal by using dummy data ==> DONE, see attached
      • check if outer join or also inner join is affected ==> reduced to outer join (example makes no sense for inner join)
      • check which MariaDB Version is affected ==> DONE, also 10.5 (on EBI04) is affected, same behaviour as for 10.3 (EBI01).

      Attachments

        Activity

          People

            sergey.zefirov Sergey Zefirov
            aeae81 andreas eschbacher
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.