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

support querying temporary tables with cross engine joins

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 1.0.4
    • Icebox
    • MariaDB Server
    • None

    Description

      If you create a temporary table in the session and try to join a columnstore table with it (with cross engine join enabled), then an error is returned:

      MariaDB [test]> create table tc (id int, c1 char(3)) engine=columnstore;
      Query OK, 0 rows affected (0.74 sec)
       
      MariaDB [test]> insert into tc values (1, 'ABC');
      Query OK, 1 row affected (0.32 sec)
       
      MariaDB [test]> create temporary table tt (select id from tc where id < 10);
      Query OK, 1 row affected, 1 warning (0.02 sec)
      Records: 1  Duplicates: 0  Warnings: 1
       
      MariaDB [test]> select * from tc t1 join tt t2 on t1.id = t2.id;
      ERROR 1815 (HY000): Internal error: fatal error executing query in crossengine client lib(17)(17)
      MariaDB [test]>
      

      The reason for this is that the current architecture uses a separate connection to perform the non column store query. This is because it can support the tables not being local to the server the query is running on. To support this would require some re-architecture and limitations.

      Attachments

        Activity

          People

            toddstoffel Todd Stoffel (Inactive)
            dthompson David Thompson (Inactive)
            Votes:
            1 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.