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

[columnar] Update index whitelist to include GIN and GIST #133

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

JerrySievert
Copy link
Contributor

This PR expands the whitelist for which indexes are allowed to be created against a columnar table.

This does not mean that these indexes will be automatically used, in fact in many cases the indexes will not be used. This just allows for additional indexes to be created which can be used either by explicitly disabling columnar.enable_custom_scan or by using a plan modification such as pg_plan_hint.

Newly supported indexes:

  • gin
  • gist - also supports postgis indexes and pg_embedding indexes
  • spgist
  • rum - external gin-like index type

Not supported:

  • brin - difficult to support due to how it is tied into the storage
  • bloom - supportable, but unable to get the index to be used, so left off white list, might be worth a second look later

@JerrySievert JerrySievert self-assigned this Aug 15, 2023
@JerrySievert JerrySievert merged commit 617573f into main Aug 24, 2023
@JerrySievert JerrySievert deleted the increase_index_whitelist branch August 24, 2023 16:19
@wuputah wuputah added this to the 1.0.0-rc milestone Sep 12, 2023
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.

3 participants