Cloudberry Dev,

I have a PR to introduce isolation2 and parallel-retrieve-cursor tests.
They are both failing with an expected output difference
referencing relisdynamic.

PR: Add isolation2 and parallel-retrieve test matrix entries #311
https://github.com/apache/cloudberry/actions/runs/12408835227/job/34641673123

Is someone actively working on this? If so, we can collaborate to introduce
the tests along with a fix.

Let me know what you think,
-=e

Found regression.diffs at: ./src/test/isolation2/regression.diffs
diff -I HINT: -I CONTEXT: -I GP_IGNORE: -U3
/__w/cloudberry/cloudberry/src/test/isolation2/expected/parallel_retrieve_cursor/explain.out
/__w/cloudberry/cloudberry/src/test/isolation2/results/parallel_retrieve_cursor/explain.out
---
/__w/cloudberry/cloudberry/src/test/isolation2/expected/parallel_retrieve_cursor/explain.out
2024-12-19 00:30:15.233085222 -0800
+++
/__w/cloudberry/cloudberry/src/test/isolation2/results/parallel_retrieve_cursor/explain.out
2024-12-19 00:30:15.245085293 -0800
@@ -113,40 +113,40 @@
 QUERY PLAN
 ___________
  Seq Scan on pg_catalog.pg_class
-   Output: oid, relname, relnamespace, reltype, reloftype, relowner,
relam, relfilenode, reltablespace, relpages, reltuples, relallvisible,
reltoastrelid, relhasindex, relisshared, relpersistence, relkind, relnatts,
relchecks, relhasrules, relhastriggers, relhassubclass, relrowsecurity,
relforcerowsecurity, relispopulated, relreplident, relispartition,
relisivm, relrewrite, relfrozenxid, relminmxid, relacl, reloptions,
relpartbound
-GP_IGNORE:(3 rows)
+   Output: oid, relname, relnamespace, reltype, reloftype, relowner,
relam, relfilenode, reltablespace, relpages, reltuples, relallvisible,
reltoastrelid, relhasindex, relisshared, relpersistence, relkind, relnatts,
relchecks, relhasrules, relhastriggers, relhassubclass, relrowsecurity,
relforcerowsecurity, relispopulated, relreplident, relispartition,
relisivm, relisdynamic, relrewrite, relfrozenxid, relminmxid, relacl,
reloptions, relpartbound
+GP_IGNORE:(4 rows)

 -- Test: explain output: Endpoint info (on coordinator/on some segments/on
all segments)
 EXPLAIN (VERBOSE, COSTS false) DECLARE c1 PARALLEL RETRIEVE CURSOR FOR
SELECT * FROM pg_class;
 QUERY PLAN
 ___________
  Seq Scan on pg_catalog.pg_class
-   Output: oid, relname, relnamespace, reltype, reloftype, relowner,
relam, relfilenode, reltablespace, relpages, reltuples, relallvisible,
reltoastrelid, relhasindex, relisshared, relpersistence, relkind, relnatts,
relchecks, relhasrules, relhastriggers, relhassubclass, relrowsecurity,
relforcerowsecurity, relispopulated, relreplident, relispartition,
relisivm, relrewrite, relfrozenxid, relminmxid, relacl, reloptions,
relpartbound
+   Output: oid, relname, relnamespace, reltype, reloftype, relowner,
relam, relfilenode, reltablespace, relpages, reltuples, relallvisible,
reltoastrelid, relhasindex, relisshared, relpersistence, relkind, relnatts,
relchecks, relhasrules, relhastriggers, relhassubclass, relrowsecurity,
relforcerowsecurity, relispopulated, relreplident, relispartition,
relisivm, relisdynamic, relrewrite, relfrozenxid, relminmxid, relacl,
reloptions, relpartbound
  Endpoint: "on coordinator"
-GP_IGNORE:(4 rows)
+GP_IGNORE:(5 rows)
 EXPLAIN (VERBOSE, COSTS false) DECLARE c1 PARALLEL RETRIEVE CURSOR FOR
SELECT * FROM pg_class ORDER BY relname;
 QUERY PLAN
 ___________
  Index Scan using pg_class_relname_nsp_index on pg_catalog.pg_class
-   Output: oid, relname, relnamespace, reltype, reloftype, relowner,
relam, relfilenode, reltablespace, relpages, reltuples, relallvisible,
reltoastrelid, relhasindex, relisshared, relpersistence, relkind, relnatts,
relchecks, relhasrules, relhastriggers, relhassubclass, relrowsecurity,
relforcerowsecurity, relispopulated, relreplident, relispartition,
relisivm, relrewrite, relfrozenxid, relminmxid, relacl, reloptions,
relpartbound
+   Output: oid, relname, relnamespace, reltype, reloftype, relowner,
relam, relfilenode, reltablespace, relpages, reltuples, relallvisible,
reltoastrelid, relhasindex, relisshared, relpersistence, relkind, relnatts,
relchecks, relhasrules, relhastriggers, relhassubclass, relrowsecurity,
relforcerowsecurity, relispopulated, relreplident, relispartition,
relisivm, relisdynamic, relrewrite, relfrozenxid, relminmxid, relacl,
reloptions, relpartbound
  Endpoint: "on coordinator"
 GP_IGNORE:(5 rows)
 EXPLAIN (VERBOSE, COSTS false) DECLARE c1 PARALLEL RETRIEVE CURSOR FOR
SELECT * FROM pg_class WHERE gp_segment_id=1;
 QUERY PLAN
 ___________
  Seq Scan on pg_catalog.pg_class
-   Output: oid, relname, relnamespace, reltype, reloftype, relowner,
relam, relfilenode, reltablespace, relpages, reltuples, relallvisible,
reltoastrelid, relhasindex, relisshared, relpersistence, relkind, relnatts,
relchecks, relhasrules, relhastriggers, relhassubclass, relrowsecurity,
relforcerowsecurity, relispopulated, relreplident, relispartition,
relisivm, relrewrite, relfrozenxid, relminmxid, relacl, reloptions,
relpartbound
+   Output: oid, relname, relnamespace, reltype, reloftype, relowner,
relam, relfilenode, reltablespace, relpages, reltuples, relallvisible,
reltoastrelid, relhasindex, relisshared, relpersistence, relkind, relnatts,
relchecks, relhasrules, relhastriggers, relhassubclass, relrowsecurity,
relforcerowsecurity, relispopulated, relreplident, relispartition,
relisivm, relisdynamic, relrewrite, relfrozenxid, relminmxid, relacl,
reloptions, relpartbound
    Filter: (pg_class.gp_segment_id = 1)
  Endpoint: "on coordinator"
-GP_IGNORE:(5 rows)
+GP_IGNORE:(6 rows)
 EXPLAIN (VERBOSE, COSTS false) DECLARE c1 PARALLEL RETRIEVE CURSOR FOR
SELECT * FROM pg_class WHERE gp_segment_id=1 OR gp_segment_id=2;
 QUERY PLAN
 ___________
  Seq Scan on pg_catalog.pg_class
-   Output: oid, relname, relnamespace, reltype, reloftype, relowner,
relam, relfilenode, reltablespace, relpages, reltuples, relallvisible,
reltoastrelid, relhasindex, relisshared, relpersistence, relkind, relnatts,
relchecks, relhasrules, relhastriggers, relhassubclass, relrowsecurity,
relforcerowsecurity, relispopulated, relreplident, relispartition,
relisivm, relrewrite, relfrozenxid, relminmxid, relacl, reloptions,
relpartbound
+   Output: oid, relname, relnamespace, reltype, reloftype, relowner,
relam, relfilenode, reltablespace, relpages, reltuples, relallvisible,
reltoastrelid, relhasindex, relisshared, relpersistence, relkind, relnatts,
relchecks, relhasrules, relhastriggers, relhassubclass, relrowsecurity,
relforcerowsecurity, relispopulated, relreplident, relispartition,
relisivm, relisdynamic, relrewrite, relfrozenxid, relminmxid, relacl,
reloptions, relpartbound
    Filter: ((pg_class.gp_segment_id = 1) OR (pg_class.gp_segment_id = 2))
  Endpoint: "on coordinator"
-GP_IGNORE:(5 rows)
+GP_IGNORE:(6 rows)

 -- Test for UDF which can be executed on coordinator
 EXPLAIN (VERBOSE, COSTS false) DECLARE c1 PARALLEL RETRIEVE CURSOR FOR
SELECT * FROM generate_series(1,10) as F;

-- 
Ed Espino
Apache Cloudberry (incubating) & MADlib

Reply via email to