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
1 change: 1 addition & 0 deletions src/backend/optimizer/plan/createplan.c
Original file line number Diff line number Diff line change
Expand Up @@ -4194,6 +4194,7 @@ create_bitmap_subplan(PlannerInfo *root, Path *bitmapqual,
plan->plan_width = 0; /* meaningless */
plan->parallel_aware = false;
plan->parallel_safe = ipath->path.parallel_safe;
plan->locustype = ipath->path.locus.locustype;
/* Extract original index clauses, actual index quals, relevant ECs */
subquals = NIL;
subindexquals = NIL;
Expand Down
6 changes: 3 additions & 3 deletions src/test/regress/expected/gp_parallel.out
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ explain(locus, costs off) select c2 from t1;
Locus: HashedWorkers
Parallel Workers: 2
-> Bitmap Index Scan on t1_c2_idx
Locus: NULL
Locus: Hashed
Optimizer: Postgres query optimizer
(8 rows)

Expand All @@ -243,7 +243,7 @@ explain(locus, costs off) select count(c2) from t1;
Locus: HashedWorkers
Parallel Workers: 2
-> Bitmap Index Scan on t1_c2_idx
Locus: NULL
Locus: Hashed
Optimizer: Postgres query optimizer
(13 rows)

Expand All @@ -266,7 +266,7 @@ explain(locus, costs off) select count(c2) from t1;
-> Bitmap Heap Scan on t1
Locus: Hashed
-> Bitmap Index Scan on t1_c2_idx
Locus: NULL
Locus: Hashed
Optimizer: Postgres query optimizer
(11 rows)

Expand Down