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

Recursive CTE Crashing MariaDB - fix crash produce err

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.6.1
    • 6.4.1
    • None
    • None

    Description

      CREATE DATABASE transportation;
      CREATE TABLE transportation.bus_routes (origin varchar(50), dst varchar(50)) engine=columnstore;
      INSERT INTO transportation.bus_routes VALUES
        ('New York', 'Boston'),
        ('Boston', 'New York'),
        ('New York', 'Washington'),
        ('Washington', 'Boston'),
        ('Washington', 'Raleigh');
      WITH RECURSIVE bus_dst as ( 
          SELECT origin as dst FROM transportation.bus_routes WHERE origin='New York' 
        UNION
          SELECT bus_routes.dst FROM transportation.bus_routes JOIN bus_dst ON bus_dst.dst= bus_routes.origin 
      ) 
      SELECT * FROM bus_dst;
      

      ERROR 2006 (HY000): MySQL server has gone away

      Attachments

        Issue Links

          Activity

            Verified crash in 6.1.1

            David.Hall David Hall (Inactive) added a comment - Verified crash in 6.1.1

            denis0x0D thnks
            1. i opened a relat ticket for full support . linked here
            2. made fixed in 641
            3. do we make PR for develop at the same time ??

            alexey.vorovich alexey vorovich (Inactive) added a comment - denis0x0D thnks 1. i opened a relat ticket for full support . linked here 2. made fixed in 641 3. do we make PR for develop at the same time ??

            Build verified: 4.6.1-1 (#4680)

            MariaDB [mytest]> WITH RECURSIVE bus_dst as ( 
                ->     SELECT origin as dst FROM transportation.bus_routes WHERE origin='New York' 
                ->   UNION
                ->     SELECT bus_routes.dst FROM transportation.bus_routes JOIN bus_dst ON bus_dst.dst= bus_routes.origin 
                -> ) 
                -> SELECT * FROM bus_dst;
            ERROR 1178 (42000): The storage engine for the table doesn't support Recursive CTE
            

            dleeyh Daniel Lee (Inactive) added a comment - Build verified: 4.6.1-1 (#4680) MariaDB [mytest]> WITH RECURSIVE bus_dst as ( -> SELECT origin as dst FROM transportation.bus_routes WHERE origin='New York' -> UNION -> SELECT bus_routes.dst FROM transportation.bus_routes JOIN bus_dst ON bus_dst.dst= bus_routes.origin -> ) -> SELECT * FROM bus_dst; ERROR 1178 (42000): The storage engine for the table doesn't support Recursive CTE

            People

              sergey.zefirov Sergey Zefirov
              toddstoffel Todd Stoffel (Inactive)
              Votes:
              0 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.