Skip to content

Commit

Permalink
Update index stats test to be in sync with 3d351d9
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke committed Sep 8, 2024
1 parent d44492f commit 20258ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/test/regress/expected/uao_compaction/index_stats.out
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ vacuum mytab2;
SELECT gp_segment_id, relname, reltuples FROM gp_dist_random('pg_class') WHERE relname = 'mytab2_int_idx1';
gp_segment_id | relname | reltuples
---------------+-----------------+-----------
0 | mytab2_int_idx1 | 0
1 | mytab2_int_idx1 | 0
2 | mytab2_int_idx1 | 0
0 | mytab2_int_idx1 | -1
1 | mytab2_int_idx1 | -1
2 | mytab2_int_idx1 | -1
(3 rows)

-- second vacuum update index stat with table stat
Expand Down Expand Up @@ -93,7 +93,7 @@ insert into mytab3 values(1,'aa',1001,101),(2,'bb',1002,102);
select reltuples from pg_class where relname='mytab3';
reltuples
-----------
0
-1
(1 row)

-- inspect the state of the stats on segments
Expand Down
8 changes: 4 additions & 4 deletions src/test/regress/expected/uaocs_compaction/index_stats.out
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ vacuum uaocs_index_stats2;
SELECT gp_segment_id, relname, reltuples FROM gp_dist_random('pg_class') WHERE relname = 'uaocs_index_stats2_int_idx1';
gp_segment_id | relname | reltuples
---------------+-----------------------------+-----------
0 | uaocs_index_stats2_int_idx1 | 0
1 | uaocs_index_stats2_int_idx1 | 0
2 | uaocs_index_stats2_int_idx1 | 0
0 | uaocs_index_stats2_int_idx1 | -1
1 | uaocs_index_stats2_int_idx1 | -1
2 | uaocs_index_stats2_int_idx1 | -1
(3 rows)

-- second vacuum update index stat with table stat
Expand Down Expand Up @@ -98,7 +98,7 @@ insert into uaocs_index_stats3 values(1,'aa',1001,101),(2,'bb',1002,102);
select reltuples from pg_class where relname='uaocs_index_stats3';
reltuples
-----------
0
-1
(1 row)

-- inspect the state of the stats on segments
Expand Down

0 comments on commit 20258ff

Please sign in to comment.