after upgrading to 10.3.7 from 10.2.something, some select queries that used no work no longer do
it seems that, in some cases but not always, where a subselect uses aliases for some of its fields and there is a join using those aliases, the alias isn't known and an error 'unknown column xxx in on clause' is thrown
example: the following could throw an error "column alias1 in on clause unknown" under 10.3.7 but would work under 10.2.xx
select *
from A
join ( select f1 as alias1, f2 as alias2 ) B on A.f1=B.alias1
whereas this one would work:
select *
from A
join ( select f1, f2 as alias2 ) B on A.f1=B.f1
more detailed examples here:
https://stackoverflow.com/questions/50766797/unknown-column-in-on-clause-column-alias-is-probably-causing-error/50816354#50816354
- duplicates
-
MDEV-16420
View stop working after upgrade from 10.1.15 to 10.3.7
-
-
Closed
Transition |
Time In Source Status |
Execution Times |
Open |
|
Closed |
|
2d 7h 12m
|
1
|
{"report":{"fcp":862.2999992370605,"ttfb":235.79999923706055,"pageVisibility":"visible","entityId":68096,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"04c4849e-8cea-4fe3-ad8d-88dc7caee23b","navigationType":0,"readyForUser":932.3999996185303,"redirectCount":0,"resourceLoadedEnd":955.8999996185303,"resourceLoadedStart":240.69999980926514,"resourceTiming":[{"duration":94.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":240.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":240.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":335.5,"responseStart":0,"secureConnectionStart":0},{"duration":94.80000019073486,"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":240.89999961853027,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":240.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":335.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":111.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":241.19999980926514,"connectEnd":241.19999980926514,"connectStart":241.19999980926514,"domainLookupEnd":241.19999980926514,"domainLookupStart":241.19999980926514,"fetchStart":241.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":241.19999980926514,"responseEnd":352.5,"responseStart":352.3999996185303,"secureConnectionStart":241.19999980926514},{"duration":156.30000019073486,"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":241.39999961853027,"connectEnd":241.39999961853027,"connectStart":241.39999961853027,"domainLookupEnd":241.39999961853027,"domainLookupStart":241.39999961853027,"fetchStart":241.39999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":241.39999961853027,"responseEnd":397.69999980926514,"responseStart":397.5999994277954,"secureConnectionStart":241.39999961853027},{"duration":159.79999923706055,"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":241.5,"connectEnd":241.5,"connectStart":241.5,"domainLookupEnd":241.5,"domainLookupStart":241.5,"fetchStart":241.5,"redirectEnd":0,"redirectStart":0,"requestStart":241.5,"responseEnd":401.29999923706055,"responseStart":401.19999980926514,"secureConnectionStart":241.5},{"duration":160,"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":241.79999923706055,"connectEnd":241.79999923706055,"connectStart":241.79999923706055,"domainLookupEnd":241.79999923706055,"domainLookupStart":241.79999923706055,"fetchStart":241.79999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":241.79999923706055,"responseEnd":401.79999923706055,"responseStart":401.79999923706055,"secureConnectionStart":241.79999923706055},{"duration":160.30000019073486,"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":241.89999961853027,"connectEnd":241.89999961853027,"connectStart":241.89999961853027,"domainLookupEnd":241.89999961853027,"domainLookupStart":241.89999961853027,"fetchStart":241.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":241.89999961853027,"responseEnd":402.19999980926514,"responseStart":402.19999980926514,"secureConnectionStart":241.89999961853027},{"duration":251.80000019073486,"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":242.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":242.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":493.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":160.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":242.29999923706055,"connectEnd":242.29999923706055,"connectStart":242.29999923706055,"domainLookupEnd":242.29999923706055,"domainLookupStart":242.29999923706055,"fetchStart":242.29999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":242.29999923706055,"responseEnd":402.5999994277954,"responseStart":402.5999994277954,"secureConnectionStart":242.29999923706055},{"duration":251.5999994277954,"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":242.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":242.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":494.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":160.60000038146973,"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":242.5999994277954,"connectEnd":242.5999994277954,"connectStart":242.5999994277954,"domainLookupEnd":242.5999994277954,"domainLookupStart":242.5999994277954,"fetchStart":242.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":242.5999994277954,"responseEnd":403.19999980926514,"responseStart":403.19999980926514,"secureConnectionStart":242.5999994277954},{"duration":434.0999994277954,"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":247.69999980926514,"connectEnd":247.69999980926514,"connectStart":247.69999980926514,"domainLookupEnd":247.69999980926514,"domainLookupStart":247.69999980926514,"fetchStart":247.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":247.69999980926514,"responseEnd":681.7999992370605,"responseStart":681.7999992370605,"secureConnectionStart":247.69999980926514},{"duration":676.5,"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":247.69999980926514,"connectEnd":247.69999980926514,"connectStart":247.69999980926514,"domainLookupEnd":247.69999980926514,"domainLookupStart":247.69999980926514,"fetchStart":247.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":247.69999980926514,"responseEnd":924.1999998092651,"responseStart":924.1999998092651,"secureConnectionStart":247.69999980926514},{"duration":177.29999923706055,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":505,"connectEnd":505,"connectStart":505,"domainLookupEnd":505,"domainLookupStart":505,"fetchStart":505,"redirectEnd":0,"redirectStart":0,"requestStart":505,"responseEnd":682.2999992370605,"responseStart":682.2999992370605,"secureConnectionStart":505},{"duration":193.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":762.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":762.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":955.8999996185303,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":55,"responseStart":236,"responseEnd":241,"domLoading":239,"domInteractive":981,"domContentLoadedEventStart":981,"domContentLoadedEventEnd":1018,"domComplete":1309,"loadEventStart":1309,"loadEventEnd":1309,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":970.0999994277954},{"name":"bigPipe.sidebar-id.end","time":970.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.start","time":971.0999994277954},{"name":"bigPipe.activity-panel-pipe-id.end","time":971.8999996185303},{"name":"activityTabFullyLoaded","time":1032}],"measures":[],"correlationId":"5700dce7cfd4f1","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":113,"dbReadsTimeInMs":18,"dbConnsTimeInMs":30,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}