Added historical file in gcs bucket for EurostatData_LifeExpectancy #2032
Merged
niveditasing merged 4 commits intoMay 25, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a mechanism to merge historical deleted data from a GCS path into the Eurostat life expectancy preprocessing pipeline. The code reviewer suggested enhancing the robustness of the data ingestion process by explicitly filtering for required columns, handling missing values, and enforcing consistent data types to prevent schema mismatches and ensure the integrity of the final dataset.
Contributor
|
Can you pls provide more explaination in PR description, exactly what we are doing and the reason behind that |
saanikaaa
approved these changes
May 22, 2026
saanikaaa
reviewed
May 22, 2026
SandeepTuniki
approved these changes
May 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The EurostatData_lifeExpectency feed shows 8,598 deleted records. Since the source has not officially stated that this data is discontinued, it may reappear. To prevent future duplicates that could arise from storing this deleted data in CNS, implemented a deduplication logic in the code & uploaded the historical data file to the GCS bucket so that code can read Data from there
Historical data : https://storage.mtls.cloud.google.com/unresolved_mcf/eurostat/life_expectancy/deleted_historical_data.csv
Differ after code change: https://storage.mtls.cloud.google.com/unresolved_mcf/eurostat/life_expectancy/obs_diff_log.csv