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

Compatibility of the FILTER clause (added in MDEV-24943) with MCS select handler

    XMLWordPrintable

Details

    • Task
    • Status: In Testing (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • 2026-9, 2026-10

    Description

      See https://github.com/MariaDB/server/pull/4439

      A simple example, without MCS:

      CREATE TABLE t1 (
        id int(20) NOT NULL,
        name varchar(16) NOT NULL default ''
      );
       
      INSERT INTO t1 VALUES
        (3,'xxx'), (7,'yyy'), (4,'xxx'), (1,'zzz'), (5,'yyy');
       
      select sum(id) filter (where name = 'yyy') from t1; -- should return 12
      

      More tests can be found in the commit there

      Attachments

        Issue Links

          Activity

            People

              sergey.zefirov Sergey Zefirov
              ycp Yuchen Pei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.5d Original Estimate - 0.5d
                  0.5d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.75d
                  0.75d

                  Git Integration

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