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

Outer queries return "Circular joins are not supported" error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.1
    • ExeMgr
    • None
    • 2019-06

    Description

      Build tested: 1.4.0-1

      [dlee@master centos7]$ cat gitversionInfo.txt
      server commit:
      67452bc
      engine commit:
      4d2a159

      Autopilot test case: features.outerJoin

      This test works in 1.2.4-1

      The following queries returned "Internal error: IDB-1003: Circular joins are not supported."

      select * from t1
      join t2 on t1.c=t2.c
      join t3 on t2.c=t3.c
      join t4 on t1.c=t4.c
      order by 4;
      #
      select * from t1
      join t2 on t1.c=t2.c
      join t3 on t2.c=t3.c
      left join t4 on t1.c=t4.c
      order by 4;
      #
      select * from t1
      join t2 on t1.c=t2.c
      left join t3 on t2.c=t3.c
      join t4 on t1.c=t4.c
      order by 4;
      #
      select * from t1
      join t2 on t1.c=t2.c
      right join t3 on t2.c=t3.c
      join t4 on t1.c=t4.c
      order by 4;
      #
      select * from t1
      left join t2 on t1.c=t2.c
      join t3 on t2.c=t3.c
      join t4 on t1.c=t4.c
      order by 4;
      #
      select * from t1
      left join t2 on t1.c=t2.c
      join t3 on t2.c=t3.c
      left join t4 on t1.c=t4.c
      order by 4;
      #
      select * from t1
      left join t2 on t1.c=t2.c
      right join t3 on t2.c=t3.c
      join t4 on t1.c=t4.c
      order by 4;
      #
      select * from t1
      right join t2 on t1.c=t2.c
      join t3 on t2.c=t3.c
      join t4 on t1.c=t4.c
      order by 4;
      #
      select * from t1
      right join t2 on t1.c=t2.c
      left join t3 on t2.c=t3.c
      join t4 on t1.c=t4.c
      order by 4;
      #
      select * from t1
      right join t2 on t1.c=t2.c
      right join t3 on t2.c=t3.c
      join t4 on t1.c=t4.c
      order by 4;

      Attachments

        Activity

          People

            dleeyh Daniel Lee (Inactive)
            dleeyh Daniel Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.