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

Views disable certain outer join optimization

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 6.1.1
    • 22.08.1
    • ExeMgr
    • None
    • 2021-17

    Description

      A Variant from MCOL-1205 , it works not, if in the from clause is a view.

      To reproduce:

      drop table if exists t1,t2;
      create table t1 (i int) engine=columnstore;
      create table t2 (i int) engine=columnstore;
      drop view if exists v1;
      CREATE VIEW v1 AS select t1.* from t1 left join t2 on t1.i = t2.i;
       
      select * from t1
       join t2 on t1.i = t2.i
       join v1 on t2.i = v1.i 
      and t1.i = v1.i;
      # trigger circular join error
       
       
      select * from t1 join t2 on t1.i = t2.i join v1 on t2.i = v1.i ;
      works normal 
      

      Attachments

        Issue Links

          Activity

            People

              denis0x0D Denis Khalikov
              Richard Richard Stracke
              Daniel Lee Daniel Lee (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 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.