Type:
Task
Priority:
Major
Resolution:
Fixed
Add support for EXCEPT clause
The EXCEPT clause has this general form:
select_statement EXCEPT select_statement
select_statement is any SELECT statement without an ORDER BY, LIMIT, or FOR UPDATE clause.
The EXCEPT operator computes the set of rows that are in the result of the left SELECT statement but not in the result of the right one.
The result of EXCEPT does not contain any duplicate rows unless the ALL option is specified. With ALL, a row that has m duplicates in the left table and n duplicates in the right table will appear max(m-n,0) times in the result set.
Sergei Golubchik
made changes -
2016-10-09 09:53
Fix Version/s
10.3
[ 22126
]
Fix Version/s
10.2
[ 14601
]
Oleksandr Byelkin
made changes -
2016-11-24 17:19
Assignee
Oleksandr Byelkin
[ sanja
]
Oleksandr Byelkin
made changes -
2016-11-24 17:22
Status
Open
[ 1
]
In Progress
[ 3
]
Oleksandr Byelkin
made changes -
2017-02-02 20:36
Assignee
Oleksandr Byelkin
[ sanja
]
Michael Widenius
[ monty
]
Status
In Progress
[ 3
]
In Review
[ 10002
]
Oleksandr Byelkin
made changes -
2017-03-13 11:43
Assignee
Michael Widenius
[ monty
]
Oleksandr Byelkin
[ sanja
]
Oleksandr Byelkin
made changes -
2017-03-13 11:43
Status
In Review
[ 10002
]
Stalled
[ 10000
]
Oleksandr Byelkin
made changes -
2017-03-13 11:44
Component/s
Optimizer
[ 10200
]
Fix Version/s
10.3.0
[ 22127
]
Fix Version/s
10.3
[ 22126
]
Resolution
Fixed
[ 1
]
Status
Stalled
[ 10000
]
Closed
[ 6
]
Ralf Gebhardt
made changes -
2017-06-07 17:17
Labels
Compatibility
10.3-beta Compatibility
Oleksandr Byelkin
made changes -
2017-07-02 18:24
Description
Add support for EXCEPT clause
The EXCEPT clause has this general form:
select_statement EXCEPT [ ALL ] select_statement
select_statement is any SELECT statement without an ORDER BY, LIMIT, or FOR UPDATE clause.
The EXCEPT operator computes the set of rows that are in the result of the left SELECT statement but not in the result of the right one.
The result of EXCEPT does not contain any duplicate rows unless the ALL option is specified. With ALL, a row that has m duplicates in the left table and n duplicates in the right table will appear max(m-n,0) times in the result set.
Add support for EXCEPT clause
The EXCEPT clause has this general form:
select_statement EXCEPT select_statement
select_statement is any SELECT statement without an ORDER BY, LIMIT, or FOR UPDATE clause.
The EXCEPT operator computes the set of rows that are in the result of the left SELECT statement but not in the result of the right one.
The result of EXCEPT does not contain any duplicate rows unless the ALL option is specified. With ALL, a row that has m duplicates in the left table and n duplicates in the right table will appear max(m-n,0) times in the result set.
Sergei Golubchik
made changes -
2021-12-06 21:23
Workflow
MariaDB v3
[ 75810
]
MariaDB v4
[ 132885
]
{"report":{"fcp":2110.399999856949,"ttfb":572.2000000476837,"pageVisibility":"visible","entityId":56871,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"523e2a5e-fdc0-4d12-b3dc-cfd53aff5851","navigationType":0,"readyForUser":2182.2000000476837,"redirectCount":0,"resourceLoadedEnd":3010.7000000476837,"resourceLoadedStart":579.5,"resourceTiming":[{"duration":863,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":579.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":579.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1442.5,"responseStart":0,"secureConnectionStart":0},{"duration":863.0999999046326,"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":579.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":579.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1442.8999998569489,"responseStart":0,"secureConnectionStart":0},{"duration":878.3999998569489,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":580.5,"connectEnd":580.5,"connectStart":580.5,"domainLookupEnd":580.5,"domainLookupStart":580.5,"fetchStart":580.5,"redirectEnd":0,"redirectStart":0,"requestStart":580.5,"responseEnd":1458.8999998569489,"responseStart":1458.8999998569489,"secureConnectionStart":580.5},{"duration":952.5999999046326,"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":580.7000000476837,"connectEnd":580.7000000476837,"connectStart":580.7000000476837,"domainLookupEnd":580.7000000476837,"domainLookupStart":580.7000000476837,"fetchStart":580.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":580.7000000476837,"responseEnd":1533.2999999523163,"responseStart":1533.2999999523163,"secureConnectionStart":580.7000000476837},{"duration":964.8000001907349,"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":580.8999998569489,"connectEnd":580.8999998569489,"connectStart":580.8999998569489,"domainLookupEnd":580.8999998569489,"domainLookupStart":580.8999998569489,"fetchStart":580.8999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":580.8999998569489,"responseEnd":1545.7000000476837,"responseStart":1545.5999999046326,"secureConnectionStart":580.8999998569489},{"duration":966.7999999523163,"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":581.0999999046326,"connectEnd":581.0999999046326,"connectStart":581.0999999046326,"domainLookupEnd":581.0999999046326,"domainLookupStart":581.0999999046326,"fetchStart":581.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":581.0999999046326,"responseEnd":1547.8999998569489,"responseStart":1547.8999998569489,"secureConnectionStart":581.0999999046326},{"duration":967.0999999046326,"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":581.2999999523163,"connectEnd":581.2999999523163,"connectStart":581.2999999523163,"domainLookupEnd":581.2999999523163,"domainLookupStart":581.2999999523163,"fetchStart":581.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":581.2999999523163,"responseEnd":1548.3999998569489,"responseStart":1548.3999998569489,"secureConnectionStart":581.2999999523163},{"duration":1062.7999999523163,"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":581.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":581.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1644.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":968.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":581.5999999046326,"connectEnd":581.5999999046326,"connectStart":581.5999999046326,"domainLookupEnd":581.5999999046326,"domainLookupStart":581.5999999046326,"fetchStart":581.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":581.5999999046326,"responseEnd":1549.8999998569489,"responseStart":1549.8999998569489,"secureConnectionStart":581.5999999046326},{"duration":1062.5999999046326,"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":581.7999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":581.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1644.3999998569489,"responseStart":0,"secureConnectionStart":0},{"duration":974.8000001907349,"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":581.8999998569489,"connectEnd":581.8999998569489,"connectStart":581.8999998569489,"domainLookupEnd":581.8999998569489,"domainLookupStart":581.8999998569489,"fetchStart":581.8999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":581.8999998569489,"responseEnd":1556.7000000476837,"responseStart":1556.7000000476837,"secureConnectionStart":581.8999998569489},{"duration":1703.5999999046326,"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":583.2000000476837,"connectEnd":583.2000000476837,"connectStart":583.2000000476837,"domainLookupEnd":583.2000000476837,"domainLookupStart":583.2000000476837,"fetchStart":583.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":583.2000000476837,"responseEnd":2286.7999999523163,"responseStart":2286.7999999523163,"secureConnectionStart":583.2000000476837},{"duration":2319.0999999046326,"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":583.2999999523163,"connectEnd":583.2999999523163,"connectStart":583.2999999523163,"domainLookupEnd":583.2999999523163,"domainLookupStart":583.2999999523163,"fetchStart":583.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":583.2999999523163,"responseEnd":2902.399999856949,"responseStart":2902.399999856949,"secureConnectionStart":583.2999999523163},{"duration":642.7000000476837,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1657.8999998569489,"connectEnd":1657.8999998569489,"connectStart":1657.8999998569489,"domainLookupEnd":1657.8999998569489,"domainLookupStart":1657.8999998569489,"fetchStart":1657.8999998569489,"redirectEnd":0,"redirectStart":0,"requestStart":1657.8999998569489,"responseEnd":2300.5999999046326,"responseStart":2300.5999999046326,"secureConnectionStart":1657.8999998569489},{"duration":859.7999999523163,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":2100.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":2100.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2960.5,"responseStart":0,"secureConnectionStart":0},{"duration":701,"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","startTime":2309.7000000476837,"connectEnd":2309.7000000476837,"connectStart":2309.7000000476837,"domainLookupEnd":2309.7000000476837,"domainLookupStart":2309.7000000476837,"fetchStart":2309.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":2309.7000000476837,"responseEnd":3010.7000000476837,"responseStart":3010.7000000476837,"secureConnectionStart":2309.7000000476837}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":313,"responseStart":572,"responseEnd":575,"domLoading":577,"domInteractive":3039,"domContentLoadedEventStart":3039,"domContentLoadedEventEnd":3163,"domComplete":3608,"loadEventStart":3608,"loadEventEnd":3608,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2905.5},{"name":"bigPipe.sidebar-id.end","time":2906.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.start","time":2906.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":2914.399999856949},{"name":"activityTabFullyLoaded","time":3195.7000000476837}],"measures":[],"correlationId":"4a6aae772fa9a7","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":177,"dbReadsTimeInMs":50,"dbConnsTimeInMs":62,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}