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

chore: migrate sample event column to text for reporting #5503

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

itsmihir
Copy link
Contributor

@itsmihir itsmihir commented Feb 12, 2025

Description

Recently, we migrated the jobsDB payload column to the text type; however, in the reports and error_detail_reports tables, we still use the jsonb type to store sample_event. This has led to instances where Postgre failed to cast sample_event from string to jsonb due to special characters, resulting in processor panics.
This PR migrates the sample_event column in these tables from jsonb to text to ensure consistency and prevent such failures.

Linear Ticket

< Replace with Linear Link ( create or search linear ticket) or >

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

@itsmihir itsmihir changed the title chore: migrate sample event col to text chore: migrate sample event column to text for reports and error_reports table Feb 12, 2025
@itsmihir itsmihir changed the title chore: migrate sample event column to text for reports and error_reports table chore(reporting): migrate sample event column to text Feb 12, 2025
@itsmihir itsmihir changed the title chore(reporting): migrate sample event column to text chore: migrate sample event column to text for reporting Feb 12, 2025
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