Skip to content

Run additional contrib regression tests in CI - #2347

Merged
tuhaihe merged 3 commits into
apache:mainfrom
Vlasdislav:ci/add-contrib-regression
Nov 19, 2026
Merged

tuhaihe merged 3 commits into
apache:mainfrom
Vlasdislav:ci/add-contrib-regression

Conversation

@Vlasdislav

Copy link
Copy Markdown
Collaborator

Add the fuzzystrmatch, intarray, isn, and unaccent regression tests to the Rocky Linux and Debian contrib CI jobs.

@tuhaihe tuhaihe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see if all the new tests run well.

@Alena0704

Copy link
Copy Markdown
Collaborator

Let's see if all the new tests run well.

It looks that we have some problems.As I see we need to fix only distributed by option during table creation:

diff --git a/contrib/intarray/expected/_int.out b/contrib/intarray/expected/_int.out
index 30e642765a6..4b009ddb652 100644
--- a/contrib/intarray/expected/_int.out
+++ b/contrib/intarray/expected/_int.out
@@ -932,9 +932,7 @@ CREATE TABLE more__int AS SELECT
      (select array_agg(u) || array_agg(u + 1000) || array_agg(u + 2000)
       from unnest(a) u where u < 2000000000)
    END AS a, a as b
-   FROM test__int;
-HINT:  The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
-NOTICE:  Table doesn't have 'DISTRIBUTED BY' clause -- Using column(s) named 'b' as the Apache Cloudberry data distribution key for this table.
+   FROM test__int DISTRIBUTED BY (b);
 CREATE INDEX ON more__int using gist (a gist__int_ops(numranges = 252));
 SELECT count(*) from more__int WHERE a && '{23,50}';
  count 
diff --git a/contrib/intarray/sql/_int.sql b/contrib/intarray/sql/_int.sql
index 7cfac7b8d17..07fdd4b2c0c 100644
--- a/contrib/intarray/sql/_int.sql
+++ b/contrib/intarray/sql/_int.sql
@@ -220,7 +220,7 @@ CREATE TABLE more__int AS SELECT
      (select array_agg(u) || array_agg(u + 1000) || array_agg(u + 2000)
       from unnest(a) u where u < 2000000000)
    END AS a, a as b
-   FROM test__int;
+   FROM test__int DISTRIBUTED BY (b);
 CREATE INDEX ON more__int using gist (a gist__int_ops(numranges = 252));
 
 SELECT count(*) from more__int WHERE a && '{23,50}';

@Alena0704 Alena0704 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks correct. Thanks!

@tuhaihe
tuhaihe force-pushed the ci/add-contrib-regression branch from 339bcca to 2bfeb50 Compare November 19, 2026 06:51
@tuhaihe
tuhaihe enabled auto-merge (rebase) November 19, 2026 06:53
@tuhaihe
tuhaihe disabled auto-merge November 19, 2026 07:46
@tuhaihe
tuhaihe enabled auto-merge (squash) November 19, 2026 07:49
@tuhaihe
tuhaihe merged commit d4a669d into apache:main Nov 19, 2026
166 of 167 checks passed
@Vlasdislav
Vlasdislav deleted the ci/add-contrib-regression branch November 19, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants