Details
-
Technical task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The syntax looks as following:
DELETE FROM t FOR PORTION OF <apptime> FROM <FROMVAL> TO <TOVAL>
For the case when row period is not totally inside <FROMVAL>...<TOVAL>, then the deletion should act like DELETE+INSERT (or two INSERTS if needed) was done.
This is important if we have DELETE/INSERT triggers.
If not, then more preferable way is to minimize the DELETE operations (in favor UPDATE ones)
Attachments
Issue Links
- relates to
-
MDEV-17209 App-period: unexpected warning on delete
-
- Open
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue is part of |
Parent |
|
|
Issue Type | Task [ 3 ] | Technical task [ 7 ] |
Link |
This issue is part of |
Summary | Applicationn period tables: DELETE | Application period tables: DELETE |
Status | Open [ 1 ] | In Progress [ 3 ] |
Description |
The syntax looks as following:
{{DELETE FROM t FOR PORTION OF <apptime> FROM...TO,,,}} |
The syntax looks as following:
{{DELETE FROM t FOR PORTION OF <apptime> FROM <FROMVAL> TO <TOVAL>}} For the case when row period is not totally inside <FROMVAL>...<TOVAL>, then the deletion should act like DELETE+INSERT (or two INSERTS if needed) was done. This is important if we have DELETE/INSERT triggers. If not, then more preferable way is to minimize the DELETE operations (in favor UPDATE ones) |
Link |
This issue blocks |
Link |
This issue blocks |
Component/s | System versioning [ 14303 ] |
Assignee | Nikita Malyavin [ nikitamalyavin ] | Aleksey Midenok [ midenok ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Link | This issue relates to MDEV-17209 [ MDEV-17209 ] |
Assignee | Aleksey Midenok [ midenok ] | Nikita Malyavin [ nikitamalyavin ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Nikita Malyavin [ nikitamalyavin ] | Sergei Golubchik [ serg ] |
Status | Stalled [ 10000 ] | In Review [ 10002 ] |
Assignee | Sergei Golubchik [ serg ] | Nikita Malyavin [ nikitamalyavin ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Summary | Application period tables: DELETE | Application-time periods: DELETE |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Assignee | Nikita Malyavin [ nikitamalyavin ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Fix Version/s | 10.4.3 [ 23230 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Assignee | Sergei Golubchik [ serg ] | Nikita Malyavin [ nikitamalyavin ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10002 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 88901 ] | MariaDB v4 [ 154792 ] |
The patch will also include CREATE TABLE part. It was already done when this tasks were created