Skip to content

[BABEL] Adding hook to enable index matching through type casts#774

Open
RuchaSK1 wants to merge 1 commit into
babelfish-for-postgresql:BABEL_5_X_DEV__PG_17_Xfrom
amazon-aurora:jira-babel-ssms-perf-5x
Open

[BABEL] Adding hook to enable index matching through type casts#774
RuchaSK1 wants to merge 1 commit into
babelfish-for-postgresql:BABEL_5_X_DEV__PG_17_Xfrom
amazon-aurora:jira-babel-ssms-perf-5x

Conversation

@RuchaSK1

Copy link
Copy Markdown
Contributor

Description

Adding a hook in match_opclause_to_indexcol() that allows babelfish to provide index clauses when the built-in logic cannot match an OpExpr to an index column. This enables extensions to handle type-cast patterns that prevent index usage due to operator family mismatches.

Issues Resolved

Task: BABEL-6814

Authored-by: Rucha Kulkarni ruchask@amazon.com
Signed-off-by: Rucha Kulkarni ruchask@amazon.com

Extension PR: babelfish-for-postgresql/babelfish_extensions#4829
Cherry-picked from #762

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the PostgreSQL license, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Rucha Kulkarni <ruchask@amazon.com>
@RuchaSK1

Copy link
Copy Markdown
Contributor Author

/code-review

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.

1 participant