Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To discard - Pg15 indexonlyscan #76

Open
wants to merge 5 commits into
base: pg15
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
DNR: Indexonlyscan fix
Summary: TODO

Test Plan: Jenkins: rebase: pg15, test regex: org.yb.pgsql.TestPgRegress.*

Subscribers: yql

Differential Revision: https://phorge.dev.yugabyte.com/D30682
arpang committed Dec 4, 2023
commit 9f4369b21051e513fe79f34d897de969efb6aa4c
3 changes: 3 additions & 0 deletions src/postgres/src/backend/optimizer/plan/createplan.c
Original file line number Diff line number Diff line change
@@ -6357,6 +6357,9 @@ fix_indexqual_references(PlannerInfo *root, IndexPath *index_path,
}
}

/* YB_TODO: This can be optimized by converting
* yb_get_fixed_batched_indexquals to yb_get_batched_indexquals such that it
* returns both fixed and stripped quals.*/
if(!bms_is_empty(root->yb_cur_batched_relids) && IsYugaByteEnabled())
{
stripped_indexquals = yb_get_actual_batched_clauses(root, rinfos, (Path *) index_path);