Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-30649

ALTER TABLE ENGINE doesn't copy data from SPIDER tables

Details

    Description

      If I use the CONNECT engine to federate data from another table, and then issue something like the following on the CONNECT table:

      ALTER TABLE tbl1 ENGINE=InnoDB
      

      When converting from CONNECT to InnoDB, both the schema and table contents will be copied.

      If I instead use the SPIDER engine to federate the access, only the schema definition is modified with the previous SQL statement, but no data is copied into the local table, instead the table remain empty.

      My particular intent is to archive legacy data, moving it from one physical server to another after it has aged out.

      I would simply use the CONNECT engine itself, but it fails to support SETs, ENUMs, and NULLable indexes.

      Attachments

        Issue Links

          Activity

            darkain Vincent Milum Jr created issue -
            darkain Vincent Milum Jr made changes -
            Field Original Value New Value
            ycp Yuchen Pei made changes -
            Assignee Yuchen Pei [ JIRAUSER52627 ]
            elenst Elena Stepanova made changes -
            Fix Version/s 10.6 [ 24028 ]
            ycp Yuchen Pei made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            ycp Yuchen Pei made changes -
            Assignee Yuchen Pei [ JIRAUSER52627 ] Alexey Botchkov [ holyfoot ]
            Status Confirmed [ 10101 ] In Review [ 10002 ]
            holyfoot Alexey Botchkov made changes -
            Assignee Alexey Botchkov [ holyfoot ] Yuchen Pei [ JIRAUSER52627 ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            ycp Yuchen Pei made changes -
            Fix Version/s 10.5.28 [ 29952 ]
            Fix Version/s 10.6 [ 24028 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            JIraAutomate JiraAutomate made changes -
            Fix Version/s 10.6.21 [ 29953 ]
            Fix Version/s 10.11.11 [ 29954 ]
            Fix Version/s 11.4.5 [ 29956 ]
            Fix Version/s 11.7.2 [ 29914 ]
            ycp Yuchen Pei made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Stalled [ 10000 ]
            ycp Yuchen Pei made changes -
            Fix Version/s N/A [ 14700 ]
            Fix Version/s 11.7.2 [ 29914 ]
            Fix Version/s 10.5.28 [ 29952 ]
            Fix Version/s 10.6.21 [ 29953 ]
            Fix Version/s 10.11.11 [ 29954 ]
            Fix Version/s 11.4.5 [ 29956 ]
            Resolution Not a Bug [ 6 ]
            Status Stalled [ 10000 ] Closed [ 6 ]

            People

              ycp Yuchen Pei
              darkain Vincent Milum Jr
              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.