Start with the following CONNECT table definition:
CREATE TABLE `test_alter` (
|
`ts` date NOT NULL `date_format`='YYYY-MM-DD' `flag`=1,
|
`merchant` varchar(128) NOT NULL `flag`=2,
|
`amount` decimal(10,2) NOT NULL `flag`=3,
|
`category` varchar(65) NOT NULL `flag`=5
|
) ENGINE=CONNECT DEFAULT CHARSET=latin1 `table_type`=csv `file_name`='/var/lib/mysql/Export_v2.csv' `header`=0 `quoted`=1;
|
Now convert to InnoDB: ALTER TABLE test_alter ENGINE=InnoDB;
The resulting table definition looks like:
CREATE TABLE `test_alter` (
|
`ts` date NOT NULL `date_format`='YYYY-MM-DD' `flag`=1,
|
`merchant` varchar(128) NOT NULL `flag`=2,
|
`amount` decimal(10,2) NOT NULL `flag`=3,
|
`category` varchar(65) NOT NULL `flag`=5
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1 `table_type`=csv `file_name`='/var/lib/mysql/Export_v2.csv' `header`=0 `quoted`=1;
|
Basic tests show that the new 'test_alter' table is a fully functional InnoDB table. However, the CREATE TABLE statement from the SHOW CREATE TABLE output is unusable and will fail.
It should be possible to change the storage engine and the ALTER TABLE operation should 'clean up' the invalid options.
{"report":{"fcp":1505.8999996185303,"ttfb":275.3999996185303,"pageVisibility":"visible","entityId":33014,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"c5341099-0f8b-4633-ae78-b9316a4de387","navigationType":0,"readyForUser":1590.3999996185303,"redirectCount":0,"resourceLoadedEnd":1560.5999999046326,"resourceLoadedStart":281.19999980926514,"resourceTiming":[{"duration":647.8000001907349,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":281.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":281.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":929,"responseStart":0,"secureConnectionStart":0},{"duration":647.7999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":281.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":281.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":929.2999997138977,"responseStart":0,"secureConnectionStart":0},{"duration":695.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":281.59999990463257,"connectEnd":281.59999990463257,"connectStart":281.59999990463257,"domainLookupEnd":281.59999990463257,"domainLookupStart":281.59999990463257,"fetchStart":281.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":281.59999990463257,"responseEnd":977.0999999046326,"responseStart":977.0999999046326,"secureConnectionStart":281.59999990463257},{"duration":837.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":281.7999997138977,"connectEnd":281.7999997138977,"connectStart":281.7999997138977,"domainLookupEnd":281.7999997138977,"domainLookupStart":281.7999997138977,"fetchStart":281.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":281.7999997138977,"responseEnd":1119.0999999046326,"responseStart":1119.0999999046326,"secureConnectionStart":281.7999997138977},{"duration":841.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":282,"connectEnd":282,"connectStart":282,"domainLookupEnd":282,"domainLookupStart":282,"fetchStart":282,"redirectEnd":0,"redirectStart":0,"requestStart":282,"responseEnd":1123.0999999046326,"responseStart":1123.0999999046326,"secureConnectionStart":282},{"duration":841.4000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":282.2999997138977,"connectEnd":282.2999997138977,"connectStart":282.2999997138977,"domainLookupEnd":282.2999997138977,"domainLookupStart":282.2999997138977,"fetchStart":282.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":282.2999997138977,"responseEnd":1123.6999998092651,"responseStart":1123.6999998092651,"secureConnectionStart":282.2999997138977},{"duration":841.6000003814697,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":282.3999996185303,"connectEnd":282.3999996185303,"connectStart":282.3999996185303,"domainLookupEnd":282.3999996185303,"domainLookupStart":282.3999996185303,"fetchStart":282.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":282.3999996185303,"responseEnd":1124,"responseStart":1124,"secureConnectionStart":282.3999996185303},{"duration":842.2999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":282.59999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":282.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1124.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":841.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":282.69999980926514,"connectEnd":282.69999980926514,"connectStart":282.69999980926514,"domainLookupEnd":282.69999980926514,"domainLookupStart":282.69999980926514,"fetchStart":282.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":282.69999980926514,"responseEnd":1124.5,"responseStart":1124.5,"secureConnectionStart":282.69999980926514},{"duration":846.1000003814697,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":282.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":282.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1129,"responseStart":0,"secureConnectionStart":0},{"duration":842.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":283,"connectEnd":283,"connectStart":283,"domainLookupEnd":283,"domainLookupStart":283,"fetchStart":283,"redirectEnd":0,"redirectStart":0,"requestStart":283,"responseEnd":1125.0999999046326,"responseStart":1125.0999999046326,"secureConnectionStart":283},{"duration":1138.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":284,"connectEnd":284,"connectStart":284,"domainLookupEnd":284,"domainLookupStart":284,"fetchStart":284,"redirectEnd":0,"redirectStart":0,"requestStart":284,"responseEnd":1422.7999997138977,"responseStart":1422.7999997138977,"secureConnectionStart":284},{"duration":1266.4000000953674,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":288.3999996185303,"connectEnd":288.3999996185303,"connectStart":288.3999996185303,"domainLookupEnd":288.3999996185303,"domainLookupStart":288.3999996185303,"fetchStart":288.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":288.3999996185303,"responseEnd":1554.7999997138977,"responseStart":1554.7999997138977,"secureConnectionStart":288.3999996185303},{"duration":297.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1136.2999997138977,"connectEnd":1136.2999997138977,"connectStart":1136.2999997138977,"domainLookupEnd":1136.2999997138977,"domainLookupStart":1136.2999997138977,"fetchStart":1136.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1136.2999997138977,"responseEnd":1434.0999999046326,"responseStart":1434.0999999046326,"secureConnectionStart":1136.2999997138977},{"duration":117.2000002861023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1443.3999996185303,"connectEnd":1443.3999996185303,"connectStart":1443.3999996185303,"domainLookupEnd":1443.3999996185303,"domainLookupStart":1443.3999996185303,"fetchStart":1443.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1443.3999996185303,"responseEnd":1560.5999999046326,"responseStart":1560.5999999046326,"secureConnectionStart":1443.3999996185303},{"duration":269.30000019073486,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1497.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1497.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1766.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":122,"responseStart":275,"responseEnd":280,"domLoading":279,"domInteractive":1679,"domContentLoadedEventStart":1679,"domContentLoadedEventEnd":1721,"domComplete":2560,"loadEventStart":2560,"loadEventEnd":2561,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1657.5999999046326},{"name":"bigPipe.sidebar-id.end","time":1658.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1658.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1661.5},{"name":"activityTabFullyLoaded","time":1770.2999997138977}],"measures":[],"correlationId":"4c3e5f1806f14f","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":93,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}