TIMX 491 - remove parquet feature flags #363
Merged
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.
Purpose and background context
This PR removes feature flags from TIM.
Before the parquet dataset, indexing and deleting were performed separately via CLI commands:
bulk-indexbulk-deletetimdex_record_idto remove from the indexNow that we are using the parquet dataset, which includes an
actioncolumn indicating if that record should be indexed or deleted, the need for distinct CLI commands is not needed. Now a singlebulk-updatecommand exists, expecting arun_idwhich provides a subset of records from the parquet dataset to index and delete from Opensearch.Note the commit 280262f which updates the VCR cassettes for indexing and deleting records. This commit has lots of file churn, but is really just re-recording the VCR cassettes to use the parquet dataset as input vs JSON + TXT files.
How can a reviewer manually see the effects of these changes?
1- Set AWS Dev credentials for
TimdexManagers2- Set env vars:
3- Run
bulk-updatecommand:Successful StepFunction run with feature flag removed TIM code in Dev: https://222053980223-lritm6hn.us-east-1.console.aws.amazon.com/states/home?region=us-east-1#/v2/executions/details/arn:aws:states:us-east-1:222053980223:execution:timdex-ingest-dev:85cfe316-089c-4639-a5af-c861a7321493.
Includes new or updated dependencies?
YES | NO
Changes expectations for external applications?
YES | NO
What are the relevant tickets?
Developer
Code Reviewer(s)