Files
doris/regression-test/data/delete_p0/test_delete_on_value.out
bobhan1 4510e16845 [improvement](delete) support delete predicate on value column for merge-on-write unique table (#21933)
Previously, delete statement with conditions on value columns are only supported on duplicate tables. After we introduce delete sign mechanism to do batch delete, a delete statement with conditions on value columns on unique tables will be transformed into the corresponding insert into ..., __DELETE_SIGN__ select ... statement. However, for unique table with merge-on-write enabled, the overhead of inserting these data can be eliminated. So this PR add the ability to allow delete predicate on value columns for merge-on-write unique tables.
2023-08-16 12:18:05 +08:00

95 lines
760 B
Plaintext

-- This file is automatically generated. You should know what you did if you want to edit this
-- !sql --
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
6 6 6
7 7 7
8 8 8
9 9 9
-- !sql --
1 1 1
2 2 2
3 3 3
5 5 5
6 6 6
7 7 7
8 8 8
9 9 9
-- !sql --
1 1 1
2 2 2
8 8 8
9 9 9
-- !sql --
1 1 1 0
2 2 2 0
3 3 3 0
4 4 4 0
5 5 5 0
6 6 6 0
7 7 7 0
8 8 8 0
9 9 9 0
-- !sql --
1 1 1
2 2 2
4 4 4
5 5 5
8 8 8
9 9 9
-- !sql --
1 1 1
2 2 2
4 4 4
8 8 8
9 9 9
-- !sql --
1 1 1 0
2 2 2 0
3 3 3 0
4 4 4 0
4 4 4 0
5 5 5 0
5 5 5 0
6 6 6 0
7 7 7 0
8 8 8 0
9 9 9 0
-- !sql --
1 1 10
-- !sql --
1 1 5 0 3 5
1 1 10 0 2 10
-- !sql --
-- !sql --
1 1 5 0 3 5
1 1 10 0 2 10
-- !sql --
1 1 10
-- !sql --
1 1 5 0 3 5
1 1 10 0 2 10
-- !sql --
-- !sql --
1 \N \N 1 4 10
1 1 5 0 3 5
1 1 10 0 2 10