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

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


The following commit(s) were added to refs/heads/main by this push:
     new 676521e598 Fix: Cleanup tables which has self define table access 
method.
676521e598 is described below

commit 676521e598bb2605530b8229828c1a5d9a29b0a3
Author: Jianghua Yang <yjhj...@gmail.com>
AuthorDate: Sun Mar 30 09:08:49 2025 +0800

    Fix: Cleanup tables which has self define table access method.
    
    Fix FailedAssertion(RelationStorageIsAoCols(prel), File: 'ocssegfiles.c', 
Line: 329), which introduced by ca06b2896d
    
    Root cause: can not ANALYZE whole database, which has self define table
    access method table. So cleanup those tables.
---
 src/test/regress/expected/create_am_gp.out | 11 +++++++++++
 src/test/regress/sql/create_am_gp.sql      | 10 ++++++++++
 2 files changed, 21 insertions(+)

diff --git a/src/test/regress/expected/create_am_gp.out 
b/src/test/regress/expected/create_am_gp.out
index 0b0bddf088..bf6f387411 100644
--- a/src/test/regress/expected/create_am_gp.out
+++ b/src/test/regress/expected/create_am_gp.out
@@ -102,3 +102,14 @@ Distributed by: (a)
 Access method: ao_col_testam
 Options: compresstype=rle_type
 
+-- Cleanup
+drop table if exists create_am_gp_ao1;
+drop table if exists create_am_gp_ao2;
+drop table if exists create_am_gp_ao3;
+drop table if exists create_am_gp_ao4;
+NOTICE:  table "create_am_gp_ao4" does not exist, skipping
+drop table if exists create_am_gp_ao5;
+NOTICE:  table "create_am_gp_ao5" does not exist, skipping
+drop table if exists create_am_gp_ao6;
+drop table if exists create_am_gp_ao7;
+drop table if exists create_am_gp_heap;
diff --git a/src/test/regress/sql/create_am_gp.sql 
b/src/test/regress/sql/create_am_gp.sql
index e126957424..34e69be3a0 100644
--- a/src/test/regress/sql/create_am_gp.sql
+++ b/src/test/regress/sql/create_am_gp.sql
@@ -39,3 +39,13 @@ create table create_am_gp_ao6(a int, b int) using 
ao_row_testam with (compressty
 
 create table create_am_gp_ao7(a int, b int encoding (compresstype=zlib)) using 
ao_col_testam distributed by (a);
 \d+ create_am_gp_ao7
+
+-- Cleanup
+drop table if exists create_am_gp_ao1;
+drop table if exists create_am_gp_ao2;
+drop table if exists create_am_gp_ao3;
+drop table if exists create_am_gp_ao4;
+drop table if exists create_am_gp_ao5;
+drop table if exists create_am_gp_ao6;
+drop table if exists create_am_gp_ao7;
+drop table if exists create_am_gp_heap;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org
For additional commands, e-mail: commits-h...@cloudberry.apache.org

Reply via email to