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

Bug 1697602 Remove derived tables for AET #1894

Merged
merged 3 commits into from
Mar 16, 2021
Merged

Bug 1697602 Remove derived tables for AET #1894

merged 3 commits into from
Mar 16, 2021

Conversation

jklukas
Copy link
Contributor

@jklukas jklukas commented Mar 15, 2021

Part of overall work for https://bugzilla.mozilla.org/show_bug.cgi?id=1697602

We will need to remove the underlying tables once this is merged.

ECOSYSTEM_CLIENT_ID_SRC = DeleteSource(
table="account_ecosystem_restricted.ecosystem_client_id_deletion_v1",
field=ECOSYSTEM_CLIENT_ID,
)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are now dropping any remaining AET messages in the pipeline, so we will not be accruing any new entries in the stable tables, and there should be no further need for processing ecosystem_client_id as part of deletion requests.

@@ -369,9 +341,6 @@ def fields(self) -> Tuple[str, ...]:
client_id_target(table="eng_workflow_stable.build_v1"),
# other
DeleteTarget(table="telemetry_stable.pioneer_study_v4", field=PIONEER_ID),
DeleteTarget(
table="telemetry_stable.pre_account_v4", field=DESKTOP_ECOSYSTEM_CLIENT_ID
),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe pre_account was added here in error. It does indeed have a field called ecosystem_client_id, but it is always set to "unknown". The pre-account ping was associated with a previous incarnation of "ecosystem telemetry" rather than AET.

@jklukas jklukas marked this pull request as ready for review March 15, 2021 19:40
@jklukas jklukas requested a review from relud March 15, 2021 19:43
@jklukas jklukas enabled auto-merge (squash) March 16, 2021 13:15
@jklukas jklukas merged commit c79d6d5 into master Mar 16, 2021
@jklukas jklukas deleted the remove-aet branch March 16, 2021 13:22
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