Type:
Bug
Priority:
Major
Resolution:
Duplicate
Affects Version/s:
1.4.3
While timestamp is a supported datatype, one cannot use it in create table select. The capability is important for usability of HTAP.
1. timestamp is a supported type.
MariaDB [gjd] > create table t2 (t timestamp) engine=columnstore;
Query OK, 0 rows affected (0.235 sec)
MariaDB [gjd] > show create table t2;
------ -------------------------------------------------------------------------------------------------------------------------------------------------+
------ -------------------------------------------------------------------------------------------------------------------------------------------------+
t2
CREATE TABLE `t2` (
`t` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=Columnstore DEFAULT CHARSET=utf8
------ -------------------------------------------------------------------------------------------------------------------------------------------------+
2. But cannot be used in create table select.
a) MariaDB [gjd] > create table t3 engine=columnstore select current_timestamp();
ERROR 1178 (42000): The storage engine for the table doesn't support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
MariaDB [gjd] >
b) MariaDB [gjd] > create table t3inno engine=innodb select current_timestamp();
Query OK, 1 row affected (0.027 sec)
Records: 1 Duplicates: 0 Warnings: 0
MariaDB [gjd] > show create table t3inno;
------- -------------------------------------------------------------------------------------------------------+
------- -------------------------------------------------------------------------------------------------------+
t3inno
CREATE TABLE `t3inno` (
`current_timestamp()` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8
------- -------------------------------------------------------------------------------------------------------+
1 row in set (0.000 sec)
MariaDB [gjd] > create table t3cs engine=columnstore select * from t3inno;
ERROR 1178 (42000): The storage engine for the table doesn't support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.
MariaDB [gjd] >
relates to
MCOL-4716
CREATE TABLE with CURRENT_TIMESTAMP does not support own syntax
Closed
There are no comments yet on this issue.
{"report":{"fcp":890.5,"ttfb":194.89999997615814,"pageVisibility":"visible","entityId":87818,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"38288324-611d-4af7-bc69-428b65f596f2","navigationType":0,"readyForUser":951.3999999761581,"redirectCount":0,"resourceLoadedEnd":480.60000002384186,"resourceLoadedStart":199.80000007152557,"resourceTiming":[{"duration":143.19999992847443,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":199.80000007152557,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":199.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":343,"responseStart":0,"secureConnectionStart":0},{"duration":143.20000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":200.10000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":200.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":343.3000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":203.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":200.30000007152557,"connectEnd":200.30000007152557,"connectStart":200.30000007152557,"domainLookupEnd":200.30000007152557,"domainLookupStart":200.30000007152557,"fetchStart":200.30000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":348.5,"responseEnd":404.10000002384186,"responseStart":375.60000002384186,"secureConnectionStart":200.30000007152557},{"duration":212.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/2bf333562ca6724060a9d5f1535471f6/_/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","startTime":200.5,"connectEnd":200.5,"connectStart":200.5,"domainLookupEnd":200.5,"domainLookupStart":200.5,"fetchStart":200.5,"redirectEnd":0,"redirectStart":0,"requestStart":344.2000000476837,"responseEnd":413,"responseStart":356,"secureConnectionStart":200.5},{"duration":168.60000002384186,"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":200.70000004768372,"connectEnd":200.70000004768372,"connectStart":200.70000004768372,"domainLookupEnd":200.70000004768372,"domainLookupStart":200.70000004768372,"fetchStart":200.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":347,"responseEnd":369.3000000715256,"responseStart":368.39999997615814,"secureConnectionStart":200.70000004768372},{"duration":172.59999990463257,"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":200.80000007152557,"connectEnd":200.80000007152557,"connectStart":200.80000007152557,"domainLookupEnd":200.80000007152557,"domainLookupStart":200.80000007152557,"fetchStart":200.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":348.39999997615814,"responseEnd":373.39999997615814,"responseStart":372.89999997615814,"secureConnectionStart":200.80000007152557},{"duration":171.80000007152557,"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":201,"connectEnd":201,"connectStart":201,"domainLookupEnd":201,"domainLookupStart":201,"fetchStart":201,"redirectEnd":0,"redirectStart":0,"requestStart":348.5,"responseEnd":372.8000000715256,"responseStart":372.2000000476837,"secureConnectionStart":201},{"duration":147.10000002384186,"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":201.20000004768372,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":201.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":348.3000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":178.5,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":201.30000007152557,"connectEnd":201.30000007152557,"connectStart":201.30000007152557,"domainLookupEnd":201.30000007152557,"domainLookupStart":201.30000007152557,"fetchStart":201.30000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":350.3000000715256,"responseEnd":379.8000000715256,"responseStart":379,"secureConnectionStart":201.30000007152557},{"duration":148.10000002384186,"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":201.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":201.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":349.60000002384186,"responseStart":0,"secureConnectionStart":0},{"duration":173.30000007152557,"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":201.5,"connectEnd":357.5,"connectStart":357.5,"domainLookupEnd":357.5,"domainLookupStart":357.5,"fetchStart":201.5,"redirectEnd":0,"redirectStart":0,"requestStart":357.89999997615814,"responseEnd":374.8000000715256,"responseStart":370.89999997615814,"secureConnectionStart":357.5},{"duration":244,"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":225.5,"connectEnd":225.5,"connectStart":225.5,"domainLookupEnd":225.5,"domainLookupStart":225.5,"fetchStart":225.5,"redirectEnd":0,"redirectStart":0,"requestStart":424.60000002384186,"responseEnd":469.5,"responseStart":467.39999997615814,"secureConnectionStart":225.5},{"duration":254.89999997615814,"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":225.70000004768372,"connectEnd":225.70000004768372,"connectStart":225.70000004768372,"domainLookupEnd":225.70000004768372,"domainLookupStart":225.70000004768372,"fetchStart":225.70000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":444.8000000715256,"responseEnd":480.60000002384186,"responseStart":479.8000000715256,"secureConnectionStart":225.70000004768372},{"duration":204.39999997615814,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":657,"connectEnd":657,"connectStart":657,"domainLookupEnd":657,"domainLookupStart":657,"fetchStart":657,"redirectEnd":0,"redirectStart":0,"requestStart":829.2000000476837,"responseEnd":861.3999999761581,"responseStart":860.7000000476837,"secureConnectionStart":657},{"duration":113.19999992847443,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":868.8000000715256,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":868.8000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":982,"responseStart":0,"secureConnectionStart":0},{"duration":54.60000002384186,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":890.6000000238419,"connectEnd":890.6000000238419,"connectStart":890.6000000238419,"domainLookupEnd":890.6000000238419,"domainLookupStart":890.6000000238419,"fetchStart":890.6000000238419,"redirectEnd":0,"redirectStart":0,"requestStart":912.2000000476837,"responseEnd":945.2000000476837,"responseStart":943.5,"secureConnectionStart":890.6000000238419}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":33,"responseStart":195,"responseEnd":225,"domLoading":199,"domInteractive":1004,"domContentLoadedEventStart":1004,"domContentLoadedEventEnd":1040,"domComplete":1117,"loadEventStart":1117,"loadEventEnd":1117,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":986.6000000238419},{"name":"bigPipe.sidebar-id.end","time":987.3999999761581},{"name":"bigPipe.activity-panel-pipe-id.start","time":987.6000000238419},{"name":"bigPipe.activity-panel-pipe-id.end","time":988.1000000238419},{"name":"activityTabFullyLoaded","time":1049.8000000715256}],"measures":[],"correlationId":"c527d180d58f66","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":97,"dbReadsTimeInMs":10,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}