Hello,
It appears as if I cannot use regular expressions against SPIDER engine tables.
I have searched the documentation for related configuration parameters, but I was unable to find any.
A Simple example can be seen below:
MariaDB [test_db]> CREATE TABLE `test_db`.`just_testing` (
|
`name` varchar(16) not null
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
|
|
MariaDB [test_db]> insert into `test_db`.`just_testing`(name) values ('TestSpiderRegex');
|
MariaDB [test_db]> select `name` from `test_db`.`just_testing` where `NAME` REGEXP '(Test|Spider|Regex)';
|
+-----------------+
|
| name |
|
+-----------------+
|
| TestSpiderRegex |
|
+-----------------+
|
1 row in set (0.000 sec)
|
Now, creating the respective SPIDER schema - table:
~MariaDB [test_db]> create database spider_test_db;
|
MariaDB [test_db]> CREATE TABLE `spider_test_db`.`just_testing` (
|
`name` varchar(16) NOT NULL
|
) ENGINE=SPIDER DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci COMMENT='wrapper "mysql", srv "dataNode", database "test_db", table "just_testing"';
|
|
MariaDB [spider_test_db]> select * from `spider_test_db`.`just_testing`;
|
+-----------------+
|
| name |
|
+-----------------+
|
| TestSpiderRegex |
|
+-----------------+~
|
Selecting with REGEXP fails:
~MariaDB [spider_test_db]> select `name` from `spider_test_db`.`just_testing` where `NAME` REGEXP '(Test|Spider|Regex)';
|
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'regexp(t0.`name` , '(Test|Spider|Regex)'))' at line 1~
|
Issue persists with all regular expressions I could try, in all queries I could try.
Thank you
{"report":{"fcp":1381.6000003814697,"ttfb":234.5,"pageVisibility":"visible","entityId":126866,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"02b160dd-01c8-42ec-ad3d-adb522f532bf","navigationType":0,"readyForUser":1489.1000003814697,"redirectCount":0,"resourceLoadedEnd":1272.5,"resourceLoadedStart":249.80000019073486,"resourceTiming":[{"duration":484.30000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":249.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":249.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":734.1000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":484.19999980926514,"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":250.20000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":250.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":734.4000005722046,"responseStart":0,"secureConnectionStart":0},{"duration":494.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":250.4000005722046,"connectEnd":250.4000005722046,"connectStart":250.4000005722046,"domainLookupEnd":250.4000005722046,"domainLookupStart":250.4000005722046,"fetchStart":250.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":250.4000005722046,"responseEnd":745.3000001907349,"responseStart":745.3000001907349,"secureConnectionStart":250.4000005722046},{"duration":533.1000003814697,"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":251,"connectEnd":251,"connectStart":251,"domainLookupEnd":251,"domainLookupStart":251,"fetchStart":251,"redirectEnd":0,"redirectStart":0,"requestStart":251,"responseEnd":784.1000003814697,"responseStart":784.1000003814697,"secureConnectionStart":251},{"duration":542.2999992370605,"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":251.20000076293945,"connectEnd":251.20000076293945,"connectStart":251.20000076293945,"domainLookupEnd":251.20000076293945,"domainLookupStart":251.20000076293945,"fetchStart":251.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":251.20000076293945,"responseEnd":793.5,"responseStart":793.5,"secureConnectionStart":251.20000076293945},{"duration":543.1999998092651,"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":251.4000005722046,"connectEnd":251.4000005722046,"connectStart":251.4000005722046,"domainLookupEnd":251.4000005722046,"domainLookupStart":251.4000005722046,"fetchStart":251.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":251.4000005722046,"responseEnd":794.6000003814697,"responseStart":794.6000003814697,"secureConnectionStart":251.4000005722046},{"duration":543.8999996185303,"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":251.60000038146973,"connectEnd":251.60000038146973,"connectStart":251.60000038146973,"domainLookupEnd":251.60000038146973,"domainLookupStart":251.60000038146973,"fetchStart":251.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":251.60000038146973,"responseEnd":795.5,"responseStart":795.5,"secureConnectionStart":251.60000038146973},{"duration":569.2999992370605,"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":251.70000076293945,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":251.70000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":821,"responseStart":0,"secureConnectionStart":0},{"duration":544,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":251.9000005722046,"connectEnd":251.9000005722046,"connectStart":251.9000005722046,"domainLookupEnd":251.9000005722046,"domainLookupStart":251.9000005722046,"fetchStart":251.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":251.9000005722046,"responseEnd":795.9000005722046,"responseStart":795.9000005722046,"secureConnectionStart":251.9000005722046},{"duration":569.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":252.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":252.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":821.2000007629395,"responseStart":0,"secureConnectionStart":0},{"duration":544.2999992370605,"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":252.20000076293945,"connectEnd":252.20000076293945,"connectStart":252.20000076293945,"domainLookupEnd":252.20000076293945,"domainLookupStart":252.20000076293945,"fetchStart":252.20000076293945,"redirectEnd":0,"redirectStart":0,"requestStart":252.20000076293945,"responseEnd":796.5,"responseStart":796.5,"secureConnectionStart":252.20000076293945},{"duration":653.1000003814697,"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":273.5,"connectEnd":273.5,"connectStart":273.5,"domainLookupEnd":273.5,"domainLookupStart":273.5,"fetchStart":273.5,"redirectEnd":0,"redirectStart":0,"requestStart":273.5,"responseEnd":926.6000003814697,"responseStart":926.6000003814697,"secureConnectionStart":273.5},{"duration":992,"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":280.5,"connectEnd":280.5,"connectStart":280.5,"domainLookupEnd":280.5,"domainLookupStart":280.5,"fetchStart":280.5,"redirectEnd":0,"redirectStart":0,"requestStart":280.5,"responseEnd":1272.5,"responseStart":1272.5,"secureConnectionStart":280.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":30,"responseStart":234,"responseEnd":278,"domLoading":240,"domInteractive":1611,"domContentLoadedEventStart":1611,"domContentLoadedEventEnd":1672,"domComplete":3217,"loadEventStart":3217,"loadEventEnd":3220,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1571.9000005722046},{"name":"bigPipe.sidebar-id.end","time":1572.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1573},{"name":"bigPipe.activity-panel-pipe-id.end","time":1579.2000007629395},{"name":"activityTabFullyLoaded","time":1681.2000007629395}],"measures":[],"correlationId":"ca81165a192405","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":108,"dbReadsTimeInMs":9,"dbConnsTimeInMs":18,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}