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

tuhaihe pushed a commit to branch REL_2_STABLE
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit bef9b7203289e6a74f9ed7757049ac2d00e6e273
Author: reshke <[email protected]>
AuthorDate: Tue Sep 22 07:46:36 2026 +0300

    Fix rowtypes expected output for bug #18077 explain plan
    
    The hand-written GP_IGNORE:(16 rows) footer broke atmsort's block
    parsing (the (N rows) row-count regexp doesn't match a GP_IGNORE-
    prefixed footer), so the explain directive leaked into the following
    SELECT block and its (1 row) footer got GP_IGNORE-ified in the
    expected file only, producing a bogus -GP_IGNORE:(1 row) / +(1 row)
    diff and a failed test. Record the actual server output instead:
    the Settings and Optimizer lines are globally ignored by gpdiff,
    and the plan is identical with optimizer on or off.
---
 src/test/regress/expected/rowtypes.out | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/test/regress/expected/rowtypes.out 
b/src/test/regress/expected/rowtypes.out
index dd93e7c8ca7..4cb3a1c06fa 100644
--- a/src/test/regress/expected/rowtypes.out
+++ b/src/test/regress/expected/rowtypes.out
@@ -1259,7 +1259,9 @@ where (select * from (select c as c1) s
            InitPlan 1 (returns $1)
              ->  Result
                    Output: ((t.c).f1 > 0)
-GP_IGNORE:(16 rows)
+ Settings: optimizer = 'off'
+ Optimizer: Postgres query optimizer
+(16 rows)
 
 with cte(c) as materialized (select row(1, 2)),
      cte2(c) as (select * from cte)


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

Reply via email to