Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/test/regress/expected/rpt_joins.out
Original file line number Diff line number Diff line change
Expand Up @@ -2376,6 +2376,12 @@ explain(costs off) with cte1 as (insert into rpt_issue_15860 values (1, 2) retur
Optimizer: Postgres query optimizer
(10 rows)

-- start_ignore
-- When external_fts is on
-- Seq scan on gp_segment_configuration would be replaced by
-- Function Scan on gp_get_segment_configuration
-- Inconsistence between CIs will cause such cases to fail.
-- Ignore these as workaround.
-- Replicate join Entry.
explain(costs off) with cte1 as (insert into rpt_issue_15860 values (1, 2) returning *) select * from cte1 join gp_segment_configuration g on g.dbid = cte1.c1;
QUERY PLAN
Expand All @@ -2390,6 +2396,7 @@ explain(costs off) with cte1 as (insert into rpt_issue_15860 values (1, 2) retur
Optimizer: Postgres query optimizer
(8 rows)

-- end_ignore
--
-- Begin of Replicated join Partitioned.
--
Expand Down
7 changes: 7 additions & 0 deletions src/test/regress/sql/rpt_joins.sql
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,15 @@ explain(costs off) with cte1 as (insert into rpt_issue_15860 values (1, 2) retur
explain(costs off) with cte1 as (insert into rpt_issue_15860 values (1, 2) returning *) select * from cte1 right join (select count(*) as c from hash_issue_15860) a on a.c = cte1.c1;
explain(costs off) with cte1 as (insert into rpt_issue_15860 values (1, 2) returning *) select * from cte1 full join (select count(*) as c from hash_issue_15860) a on a.c = cte1.c1;

-- start_ignore
-- When external_fts is on
-- Seq scan on gp_segment_configuration would be replaced by
-- Function Scan on gp_get_segment_configuration
-- Inconsistence between CIs will cause such cases to fail.
-- Ignore these as workaround.
-- Replicate join Entry.
explain(costs off) with cte1 as (insert into rpt_issue_15860 values (1, 2) returning *) select * from cte1 join gp_segment_configuration g on g.dbid = cte1.c1;
-- end_ignore

--
-- Begin of Replicated join Partitioned.
Expand Down