Skip to content

Support various index types in index Macros #6

@jordan8037310

Description

@jordan8037310

Opening a ticket as I might work on this:

  • PgSQL supports a range of index types: B-tree, Hash, GiST, SP-GiST, GIN and BRIN
  • It might be worthwhile to expand the macro to include a type variable with the default being B-Tree / unset. A case statement could implement one of the index types inside of the macro based on the type.

My use case is applying a GIN index on some JSON data I'm storing, which I believe will speed up some of my dbt transformations downstream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions