Skip to content

Commit c4e598e

Browse files
committed
Fix answer file for brin heap
1 parent 61cc1fa commit c4e598e

1 file changed

Lines changed: 28 additions & 28 deletions

File tree

src/test/isolation2/expected/brin_heap.out

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ SELECT gp_wait_until_triggered_fault('summarize_last_partial_range', 1, dbid) FR
5454
(2,2)
5555
(2 rows)
5656
1U: SELECT * FROM brin_page_items(get_raw_page('brin_range_extended_heap_i_idx', 2), 'brin_range_extended_heap_i_idx') ORDER BY blknum, attnum;
57-
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value
58-
------------+--------+--------+----------+----------+-------------+----------
59-
1 | 0 | 1 | f | f | f | {1 .. 1}
60-
2 | 5 | 1 | t | f | t |
57+
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | value
58+
------------+--------+--------+----------+----------+-------------+-------+----------
59+
1 | 0 | 1 | f | f | f | f | {1 .. 1}
60+
2 | 5 | 1 | t | f | t | t |
6161
(2 rows)
6262

6363
-- Extend the last partial range by 1 block.
@@ -95,10 +95,10 @@ SELECT gp_inject_fault('summarize_last_partial_range', 'reset', dbid) FROM gp_se
9595
(2,2)
9696
(2 rows)
9797
1U: SELECT * FROM brin_page_items(get_raw_page('brin_range_extended_heap_i_idx', 2), 'brin_range_extended_heap_i_idx') ORDER BY blknum, attnum;
98-
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value
99-
------------+--------+--------+----------+----------+-------------+-----------
100-
1 | 0 | 1 | f | f | f | {1 .. 1}
101-
2 | 5 | 1 | f | f | f | {1 .. 20}
98+
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | value
99+
------------+--------+--------+----------+----------+-------------+-------+-----------
100+
1 | 0 | 1 | f | f | f | f | {1 .. 1}
101+
2 | 5 | 1 | f | f | f | f | {1 .. 20}
102102
(2 rows)
103103

104104

@@ -134,9 +134,9 @@ ABORT
134134
(2,1)
135135
(1 row)
136136
1U: SELECT * FROM brin_page_items(get_raw_page('brin_abort_heap_i_idx', 2), 'brin_abort_heap_i_idx') ORDER BY blknum, attnum;
137-
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value
138-
------------+--------+--------+----------+----------+-------------+----------
139-
1 | 0 | 1 | f | f | f | {1 .. 1}
137+
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | value
138+
------------+--------+--------+----------+----------+-------------+-------+----------
139+
1 | 0 | 1 | f | f | f | f | {1 .. 1}
140140
(1 row)
141141

142142
-- Summarize over the aborted rows.
@@ -164,11 +164,11 @@ SELECT brin_summarize_new_values('brin_abort_heap_i_idx');
164164
(2,3)
165165
(3 rows)
166166
1U: SELECT * FROM brin_page_items(get_raw_page('brin_abort_heap_i_idx', 2), 'brin_abort_heap_i_idx') ORDER BY blknum, attnum;
167-
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value
168-
------------+--------+--------+----------+----------+-------------+----------
169-
1 | 0 | 1 | f | f | f | {1 .. 1}
170-
2 | 1 | 1 | t | f | f |
171-
3 | 2 | 1 | t | f | f |
167+
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | value
168+
------------+--------+--------+----------+----------+-------------+-------+----------
169+
1 | 0 | 1 | f | f | f | f | {1 .. 1}
170+
2 | 1 | 1 | t | f | f | t |
171+
3 | 2 | 1 | t | f | f | t |
172172
(3 rows)
173173

174174
-- Sanity: Scan should only return the 1st block and ignore the blocks for which
@@ -227,12 +227,12 @@ SELECT brin_summarize_new_values('brin_abort_heap_i_idx');
227227
(2,4)
228228
(4 rows)
229229
1U: SELECT * FROM brin_page_items(get_raw_page('brin_abort_heap_i_idx', 2), 'brin_abort_heap_i_idx') ORDER BY blknum, attnum;
230-
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value
231-
------------+--------+--------+----------+----------+-------------+------------
232-
1 | 0 | 1 | f | f | f | {1 .. 1}
233-
2 | 1 | 1 | t | f | f |
234-
3 | 2 | 1 | f | f | f | {20 .. 20}
235-
4 | 3 | 1 | f | f | f | {20 .. 20}
230+
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | value
231+
------------+--------+--------+----------+----------+-------------+-------+------------
232+
1 | 0 | 1 | f | f | f | f | {1 .. 1}
233+
2 | 1 | 1 | t | f | f | t |
234+
3 | 2 | 1 | f | f | f | f | {20 .. 20}
235+
4 | 3 | 1 | f | f | f | f | {20 .. 20}
236236
(4 rows)
237237

238238
-- Sanity: Scan should only return the 2 blocks matching the predicate, in the tidbitmap.
@@ -282,12 +282,12 @@ CREATE
282282
(2,4)
283283
(4 rows)
284284
1U: SELECT * FROM brin_page_items(get_raw_page('brin_abort_heap_i_idx', 2), 'brin_abort_heap_i_idx') ORDER BY blknum, attnum;
285-
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value
286-
------------+--------+--------+----------+----------+-------------+------------
287-
1 | 0 | 1 | t | f | f |
288-
2 | 1 | 1 | t | f | f |
289-
3 | 2 | 1 | f | f | f | {20 .. 20}
290-
4 | 3 | 1 | f | f | f | {20 .. 20}
285+
itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | value
286+
------------+--------+--------+----------+----------+-------------+-------+------------
287+
1 | 0 | 1 | t | f | f | t |
288+
2 | 1 | 1 | t | f | f | t |
289+
3 | 2 | 1 | f | f | f | f | {20 .. 20}
290+
4 | 3 | 1 | f | f | f | f | {20 .. 20}
291291
(4 rows)
292292

293293
-- Sanity: Scan should only return the 2 blocks matching the predicate, in the tidbitmap.

0 commit comments

Comments
 (0)