-
Notifications
You must be signed in to change notification settings - Fork 105
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
backfill real_efile.sa7 so 3 tsvector columns are populated #4093
Comments
New entries appear to be populated, but still need to backfill |
Moving to 11.2 for the time being. |
Table real_efile.sa7 contains the past 4 months data (up to 5 month the most) since we did a monthly cleanup at first Saturday of each month to only keep the most recent 4 months worth of data. The trigger had been introduced to the 3 cloud database on |
A function were created to back-fill the columns. It is based on the create_dt on real_efile.reps. Appropriate repid in the corresponding time period is used to drive the update. After the updates were done, this particular function had been removed from the database to avoid confusion in the future since it is not part of the "official" objects needed for website project. |
It had been verified that autovacuum had been invoked by database engine after the updates finished. This indicated that the statistics of the table had been updated to reflect the updated data. |
Verified that all records had been backfilled: |
Summary
real_efile.sa7
has 3TSVECTOR
columns that are all empty. It does not appear any triggers generated the input for these columns. Issue #3834 corrects this going forward, however historical data needs to be backfilled.[HIGH-LEVEL] Completion criteria
real_efile.sa7
data is backfilled forcontributor_name_text
,contributor_employer_text
, andcontributor_occupation_text
columns.The text was updated successfully, but these errors were encountered: