This is an automated email from the ASF dual-hosted git repository.

chenjinbao1989 pushed a commit to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/cbdb-postgres-merge by this 
push:
     new c4e598e9e71 Fix answer file for brin heap
c4e598e9e71 is described below

commit c4e598e9e71fc5c6ab6ee6e96e8eb7264f4598f4
Author: Jinbao Chen <[email protected]>
AuthorDate: Sat Feb 21 17:05:11 2026 +0800

    Fix answer file for brin heap
---
 src/test/isolation2/expected/brin_heap.out | 56 +++++++++++++++---------------
 1 file changed, 28 insertions(+), 28 deletions(-)

diff --git a/src/test/isolation2/expected/brin_heap.out 
b/src/test/isolation2/expected/brin_heap.out
index 83aa84b8e69..a152aba1808 100644
--- a/src/test/isolation2/expected/brin_heap.out
+++ b/src/test/isolation2/expected/brin_heap.out
@@ -54,10 +54,10 @@ SELECT 
gp_wait_until_triggered_fault('summarize_last_partial_range', 1, dbid) FR
  (2,2) 
 (2 rows)
 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;
- itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value    
-------------+--------+--------+----------+----------+-------------+----------
- 1          | 0      | 1      | f        | f        | f           | {1 .. 1} 
- 2          | 5      | 1      | t        | f        | t           |          
+ itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | 
value    
+------------+--------+--------+----------+----------+-------------+-------+----------
+ 1          | 0      | 1      | f        | f        | f           | f     | {1 
.. 1} 
+ 2          | 5      | 1      | t        | f        | t           | t     |    
      
 (2 rows)
 
 -- 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
  (2,2) 
 (2 rows)
 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;
- itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value     
-------------+--------+--------+----------+----------+-------------+-----------
- 1          | 0      | 1      | f        | f        | f           | {1 .. 1}  
- 2          | 5      | 1      | f        | f        | f           | {1 .. 20} 
+ itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | 
value     
+------------+--------+--------+----------+----------+-------------+-------+-----------
+ 1          | 0      | 1      | f        | f        | f           | f     | {1 
.. 1}  
+ 2          | 5      | 1      | f        | f        | f           | f     | {1 
.. 20} 
 (2 rows)
 
 
@@ -134,9 +134,9 @@ ABORT
  (2,1) 
 (1 row)
 1U: SELECT * FROM brin_page_items(get_raw_page('brin_abort_heap_i_idx', 2), 
'brin_abort_heap_i_idx') ORDER BY blknum, attnum;
- itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value    
-------------+--------+--------+----------+----------+-------------+----------
- 1          | 0      | 1      | f        | f        | f           | {1 .. 1} 
+ itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | 
value    
+------------+--------+--------+----------+----------+-------------+-------+----------
+ 1          | 0      | 1      | f        | f        | f           | f     | {1 
.. 1} 
 (1 row)
 
 -- Summarize over the aborted rows.
@@ -164,11 +164,11 @@ SELECT brin_summarize_new_values('brin_abort_heap_i_idx');
  (2,3) 
 (3 rows)
 1U: SELECT * FROM brin_page_items(get_raw_page('brin_abort_heap_i_idx', 2), 
'brin_abort_heap_i_idx') ORDER BY blknum, attnum;
- itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value    
-------------+--------+--------+----------+----------+-------------+----------
- 1          | 0      | 1      | f        | f        | f           | {1 .. 1} 
- 2          | 1      | 1      | t        | f        | f           |          
- 3          | 2      | 1      | t        | f        | f           |          
+ itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | 
value    
+------------+--------+--------+----------+----------+-------------+-------+----------
+ 1          | 0      | 1      | f        | f        | f           | f     | {1 
.. 1} 
+ 2          | 1      | 1      | t        | f        | f           | t     |    
      
+ 3          | 2      | 1      | t        | f        | f           | t     |    
      
 (3 rows)
 
 -- 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');
  (2,4) 
 (4 rows)
 1U: SELECT * FROM brin_page_items(get_raw_page('brin_abort_heap_i_idx', 2), 
'brin_abort_heap_i_idx') ORDER BY blknum, attnum;
- itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value      
-------------+--------+--------+----------+----------+-------------+------------
- 1          | 0      | 1      | f        | f        | f           | {1 .. 1}   
- 2          | 1      | 1      | t        | f        | f           |            
- 3          | 2      | 1      | f        | f        | f           | {20 .. 20} 
- 4          | 3      | 1      | f        | f        | f           | {20 .. 20} 
+ itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | 
value      
+------------+--------+--------+----------+----------+-------------+-------+------------
+ 1          | 0      | 1      | f        | f        | f           | f     | {1 
.. 1}   
+ 2          | 1      | 1      | t        | f        | f           | t     |    
        
+ 3          | 2      | 1      | f        | f        | f           | f     | 
{20 .. 20} 
+ 4          | 3      | 1      | f        | f        | f           | f     | 
{20 .. 20} 
 (4 rows)
 
 -- Sanity: Scan should only return the 2 blocks matching the predicate, in the 
tidbitmap.
@@ -282,12 +282,12 @@ CREATE
  (2,4) 
 (4 rows)
 1U: SELECT * FROM brin_page_items(get_raw_page('brin_abort_heap_i_idx', 2), 
'brin_abort_heap_i_idx') ORDER BY blknum, attnum;
- itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | value      
-------------+--------+--------+----------+----------+-------------+------------
- 1          | 0      | 1      | t        | f        | f           |            
- 2          | 1      | 1      | t        | f        | f           |            
- 3          | 2      | 1      | f        | f        | f           | {20 .. 20} 
- 4          | 3      | 1      | f        | f        | f           | {20 .. 20} 
+ itemoffset | blknum | attnum | allnulls | hasnulls | placeholder | empty | 
value      
+------------+--------+--------+----------+----------+-------------+-------+------------
+ 1          | 0      | 1      | t        | f        | f           | t     |    
        
+ 2          | 1      | 1      | t        | f        | f           | t     |    
        
+ 3          | 2      | 1      | f        | f        | f           | f     | 
{20 .. 20} 
+ 4          | 3      | 1      | f        | f        | f           | f     | 
{20 .. 20} 
 (4 rows)
 
 -- Sanity: Scan should only return the 2 blocks matching the predicate, in the 
tidbitmap.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to