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

Add index on task run names for global search #149

Merged
merged 2 commits into from
Dec 2, 2020
Merged

Conversation

zanieb
Copy link
Contributor

@zanieb zanieb commented Dec 2, 2020

Summary

Corresponding to https://github.com/PrefectHQ/cloud/pull/2884 adds a GIN trigram text search index on task run names

Importance

Necessary for reasonable global search of task run names

Checklist

This PR:

  • [ ] adds new tests (if appropriate)
  • adds a change file in the changes/ directory (if appropriate)

def upgrade():
op.execute(
"""
CREATE INDEX
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jlowin Do we do concurrent index creation in Server .. ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's necessary here

@jlowin jlowin merged commit dc588fc into master Dec 2, 2020
@jlowin jlowin deleted the task-run-name-index branch December 2, 2020 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants