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

DB migrate length limited varchar to text #155

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

jessemortenson
Copy link
Contributor

Over the years we have run into a trickle of errors where incoming data is failing a scrape because a particular property is longer than the VARCHAR column width in the database. These errors have not really produced value, as we generally don't care if text is long. Or if we do care, it's something we want to ameliorate later instead of stopping ingestion entirely.

Also, the Postgres official wiki recommends avoiding fixed-width VARCHAR as it gives no performance advantages over TEXT.

Copy link
Contributor

@alexobaseki alexobaseki left a comment

Choose a reason for hiding this comment

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

LGTM

@jessemortenson jessemortenson merged commit 696693a into main Nov 14, 2024
1 check passed
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.

2 participants