Skip to content

Commit a665304

Browse files
author
liushengsong
committed
Update answer files: rename Split to Split Update in EXPLAIN output
1 parent bd73841 commit a665304

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

src/test/regress/expected/bfv_dml_optimizer.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ explain update update_pk_test set a = 5;
208208
Sort Key: (DMLAction)
209209
-> Redistribute Motion 3:3 (slice1; segments: 3) (cost=0.00..431.00 rows=2 width=22)
210210
Hash Key: a
211-
-> Split (cost=0.00..431.00 rows=1 width=22)
211+
-> Split Update (cost=0.00..431.00 rows=1 width=22)
212212
-> Seq Scan on update_pk_test (cost=0.00..431.00 rows=1 width=18)
213213
Optimizer: Pivotal Optimizer (GPORCA)
214214
(11 rows)

src/test/regress/expected/catcache_optimizer.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DETAIL: Falling back to Postgres-based planner because GPORCA does not support
5353
-> Result (cost=0.00..0.01 rows=1 width=32)
5454
-> Result (cost=0.00..0.01 rows=1 width=32)
5555
-> Explicit Redistribute Motion 3:3 (slice1; segments: 3) (cost=0.00..2.12 rows=4 width=36)
56-
-> Split (cost=0.00..2.04 rows=4 width=36)
56+
-> Split Update (cost=0.00..2.04 rows=4 width=36)
5757
-> Append (cost=0.00..2.04 rows=2 width=36)
5858
-> Seq Scan on dml_14027_union_s_1_prt_2 dml_14027_union_s_1 (cost=0.00..1.02 rows=1 width=36)
5959
-> Seq Scan on dml_14027_union_s_1_prt_def dml_14027_union_s_2 (cost=0.00..1.02 rows=1 width=36)

src/test/regress/expected/gp_explain_optimizer.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ EXPLAIN (analyze, costs off, timing off, summary off) UPDATE explain_subplan.ra
567567
Update on part_a_1_a_10 range_parted_1
568568
Update on part_a_10_a_20 range_parted_2
569569
-> Explicit Redistribute Motion 1:3 (slice1; segments: 1) (actual rows=1 loops=1)
570-
-> Split (actual rows=2 loops=1)
570+
-> Split Update (actual rows=2 loops=1)
571571
-> Append (actual rows=1 loops=1)
572572
-> Seq Scan on part_a_1_a_10 range_parted_1 (actual rows=0 loops=1)
573573
Filter: ((a = 'a'::text) AND (c = '200'::numeric))

src/test/regress/expected/qp_orca_fallback_optimizer.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ DETAIL: Falling back to Postgres-based planner because GPORCA does not support
3636
--------------------------------------------------------------------------------------------------
3737
Update on constr_tab (cost=0.00..1.03 rows=1 width=22)
3838
-> Explicit Redistribute Motion 3:3 (slice1; segments: 3) (cost=0.00..1.03 rows=1 width=22)
39-
-> Split (cost=0.00..1.03 rows=1 width=22)
39+
-> Split Update (cost=0.00..1.03 rows=1 width=22)
4040
-> Seq Scan on constr_tab (cost=0.00..1.01 rows=1 width=22)
4141
Optimizer: Postgres query optimizer
4242
(5 rows)
@@ -72,7 +72,7 @@ DETAIL: Falling back to Postgres-based planner because GPORCA does not support
7272
--------------------------------------------------------------------------------------------------
7373
Update on constr_tab (cost=0.00..1.03 rows=1 width=22)
7474
-> Explicit Redistribute Motion 3:3 (slice1; segments: 3) (cost=0.00..1.03 rows=1 width=22)
75-
-> Split (cost=0.00..1.03 rows=1 width=22)
75+
-> Split Update (cost=0.00..1.03 rows=1 width=22)
7676
-> Seq Scan on constr_tab (cost=0.00..1.01 rows=1 width=22)
7777
Optimizer: Postgres query optimizer
7878
(5 rows)
@@ -93,7 +93,7 @@ DETAIL: Falling back to Postgres-based planner because GPORCA does not support
9393
--------------------------------------------------------------------------------------------------
9494
Update on constr_tab (cost=0.00..1.03 rows=1 width=22)
9595
-> Explicit Redistribute Motion 3:3 (slice1; segments: 3) (cost=0.00..1.03 rows=1 width=22)
96-
-> Split (cost=0.00..1.03 rows=1 width=22)
96+
-> Split Update (cost=0.00..1.03 rows=1 width=22)
9797
-> Seq Scan on constr_tab (cost=0.00..1.01 rows=1 width=22)
9898
Optimizer: Postgres query optimizer
9999
(5 rows)
@@ -112,7 +112,7 @@ explain update constr_tab set a = 10;
112112
-> Result (cost=0.00..431.00 rows=2 width=34)
113113
-> Redistribute Motion 3:3 (slice1; segments: 3) (cost=0.00..431.00 rows=2 width=30)
114114
Hash Key: constr_tab_1.a
115-
-> Split (cost=0.00..431.00 rows=1 width=30)
115+
-> Split Update (cost=0.00..431.00 rows=1 width=30)
116116
-> Seq Scan on constr_tab (cost=0.00..431.00 rows=1 width=26)
117117
Optimizer: Pivotal Optimizer (GPORCA)
118118
(9 rows)

src/test/regress/expected/qp_rowsecurity_optimizer.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ DETAIL: Falling back to Postgres-based planner because GPORCA does not support
812812
---------------------------------------------------------------
813813
Update on foo_rls
814814
-> Explicit Redistribute Motion 3:3 (slice1; segments: 3)
815-
-> Split
815+
-> Split Update
816816
-> Seq Scan on foo_rls
817817
Filter: ((c >= 3) AND (c = 4))
818818
Optimizer: Postgres-based planner
@@ -845,7 +845,7 @@ DETAIL: Falling back to Postgres-based planner because GPORCA does not support
845845
Update on foo_part_rls_1_prt_4 foo_part_rls_4
846846
Update on foo_part_rls_1_prt_5 foo_part_rls_5
847847
-> Explicit Redistribute Motion 3:3 (slice1; segments: 3)
848-
-> Split
848+
-> Split Update
849849
-> Append
850850
-> Seq Scan on foo_part_rls_1_prt_1 foo_part_rls_1
851851
Filter: ((c >= 500) AND (c = 800))

src/test/regress/expected/updatable_views_optimizer.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ EXPLAIN (costs off) UPDATE rw_view1 SET a=6 WHERE a=5;
433433
Sort Key: (DMLAction)
434434
-> Redistribute Motion 3:3 (slice1; segments: 3)
435435
Hash Key: a
436-
-> Split
436+
-> Split Update
437437
-> Index Scan using base_tbl_pkey on base_tbl
438438
Index Cond: ((a = 5) AND (a > 0))
439439
Optimizer: Pivotal Optimizer (GPORCA)
@@ -536,7 +536,7 @@ EXPLAIN (costs off) UPDATE rw_view2 SET aaa=5 WHERE aaa=4;
536536
Sort Key: (DMLAction)
537537
-> Redistribute Motion 3:3 (slice1; segments: 3)
538538
Hash Key: a
539-
-> Split
539+
-> Split Update
540540
-> Index Scan using base_tbl_pkey on base_tbl
541541
Index Cond: ((a = 4) AND (a < 10) AND (a > 0))
542542
Optimizer: Pivotal Optimizer (GPORCA)
@@ -1943,7 +1943,7 @@ EXPLAIN (costs off) UPDATE rw_view1 SET a = a + 5;
19431943
-----------------------------------------------------------------
19441944
Update on base_tbl b
19451945
-> Explicit Redistribute Motion 3:3 (slice1; segments: 3)
1946-
-> Split
1946+
-> Split Update
19471947
-> Nested Loop
19481948
Join Filter: (b.a = r.a)
19491949
-> Seq Scan on base_tbl b

src/test/regress/expected/update_gp.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ EXPLAIN (COSTS OFF ) UPDATE tab3 SET C1 = C1 + 1, C5 = C5+1;
418418
---------------------------------------------------------------
419419
Update on tab3
420420
-> Explicit Redistribute Motion 3:3 (slice1; segments: 3)
421-
-> Split Update
421+
-> Split Update Update
422422
-> Seq Scan on tab3
423423
Optimizer: Postgres query optimizer
424424
(5 rows)
@@ -693,7 +693,7 @@ explain update tsplit_entry set c = s.a from (select count(*) as a from gp_segme
693693
------------------------------------------------------------------------------------------------------------------
694694
Update on tsplit_entry (cost=10000000001.00..10000000003.18 rows=3 width=54)
695695
-> Explicit Redistribute Motion 1:3 (slice) (cost=10000000001.00..10000000003.18 rows=7 width=54)
696-
-> Split (cost=10000000001.00..10000000003.18 rows=7 width=54)
696+
-> Split Update (cost=10000000001.00..10000000003.18 rows=7 width=54)
697697
-> Nested Loop (cost=10000000001.00..10000000003.12 rows=4 width=54)
698698
-> Gather Motion 3:1 (slice2; segments: 3) (cost=0.00..2.06 rows=2 width=14)
699699
-> Seq Scan on tsplit_entry (cost=0.00..2.02 rows=1 width=14)

src/test/regress/expected/update_gp_optimizer.out

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ ERROR: can't split update for inherit table: base_tbl (preptlist.c:138)
8585
Update on child_a base_tbl_1
8686
Update on child_b base_tbl_2
8787
-> Explicit Redistribute Motion 3:3 (slice1; segments: 3)
88-
-> Split
88+
-> Split Update
8989
-> Seq Scan on base_tbl
9090
-> Explicit Redistribute Motion 3:3 (slice2; segments: 3)
91-
-> Split
91+
-> Split Update
9292
-> Seq Scan on child_a base_tbl_1
9393
-> Seq Scan on child_b base_tbl_2
9494
Optimizer: Postgres query optimizer
@@ -445,7 +445,7 @@ EXPLAIN (COSTS OFF ) UPDATE tab3 SET C1 = C1 + 1, C5 = C5+1;
445445
-> Result
446446
-> Redistribute Motion 3:3 (slice1; segments: 3)
447447
Hash Key: c1, c2, c3
448-
-> Split
448+
-> Split Update
449449
-> Seq Scan on tab3
450450
Optimizer: Pivotal Optimizer (GPORCA)
451451
(9 rows)
@@ -700,7 +700,7 @@ explain update nosplitupdate set a=0 where a=1 and a<1;
700700
One-Time Filter: true
701701
-> Result (cost=0.00..0.00 rows=0 width=22)
702702
-> Result (cost=0.00..0.00 rows=0 width=18)
703-
-> Split (cost=0.00..0.00 rows=0 width=18)
703+
-> Split Update (cost=0.00..0.00 rows=0 width=18)
704704
-> Result (cost=0.00..0.00 rows=0 width=18)
705705
One-Time Filter: false
706706
Optimizer: Pivotal Optimizer (GPORCA)
@@ -723,7 +723,7 @@ explain update tsplit_entry set c = s.a from (select count(*) as a from gp_segme
723723
-> Redistribute Motion 1:3 (slice1) (cost=0.00..882689.42 rows=4 width=22)
724724
Hash Key: tsplit_entry_1.c
725725
-> Result (cost=0.00..882689.42 rows=4 width=22)
726-
-> Split (cost=0.00..882689.42 rows=4 width=18)
726+
-> Split Update (cost=0.00..882689.42 rows=4 width=18)
727727
-> Nested Loop (cost=0.00..882689.42 rows=2 width=22)
728728
Join Filter: true
729729
-> Aggregate (cost=0.00..0.00 rows=1 width=8)

0 commit comments

Comments
 (0)