Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
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.
Attachments
Issue Links
- relates to
-
MDEV-10137 Providing compatibility to other databases
-
- Open
-
-
MDEV-11953 support of brackets (parentheses) in UNION/EXCEPT/INTERSECT operations
-
- Closed
-
-
MDEV-13231 Server crashes in _ma_unique_hash upon EXCEPT or INTERSECT with ORDER BY MATCH
-
- Closed
-
-
MDEV-13230 Information about EXCEPT ALL is inconsistent between KB, JIRA, code and tests
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link | MDEV-10137 [ 56868 ] |
Labels | Compatibility |
Epic Link | MDEV-10137 [ 56868 ] | MDEV-10872 [ 58182 ] |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.2 [ 14601 ] |
Link | This issue relates to MDEV-10137 [ MDEV-10137 ] |
Labels | Compatibility | Compatibility NRE-307517 |
Assignee | Oleksandr Byelkin [ sanja ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
NRE Projects | NRE-307517 |
Labels | Compatibility NRE-307517 | Compatibility |
Link |
This issue relates to |
Assignee | Oleksandr Byelkin [ sanja ] | Michael Widenius [ monty ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Michael Widenius [ monty ] | Oleksandr Byelkin [ sanja ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
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 ] |
NRE Approved | Yes [ 10304 ] |
Component/s | Parser [ 10201 ] |
Labels | Compatibility | 10.3-beta Compatibility |
Link |
This issue relates to |
Link |
This issue relates to |
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. |
Workflow | MariaDB v3 [ 75810 ] | MariaDB v4 [ 132885 ] |
All common code and preparations will be done under
MDEV-10141