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

Create maintenance activity ETL workflow #939

Merged
merged 69 commits into from
Apr 26, 2023
Merged

Conversation

klai95
Copy link
Contributor

@klai95 klai95 commented Mar 10, 2023

@klai95 klai95 self-assigned this Mar 10, 2023
@klai95 klai95 marked this pull request as draft March 10, 2023 21:23
@codemonkey800 codemonkey800 added the new-feature Release Label: Used for categorizing features in automated release notes label Mar 16, 2023
data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
.happy/terraform/modules/ecs-stack/main.tf Show resolved Hide resolved
data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
Comment on lines 50 to 51
GROUP BY plugin, timestamp
ORDER BY plugin, timestamp
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice clean up magic. ✨

Comment on lines 78 to 83
return _mapped_query_results(
query=github_activity_type.get_query(plugins_by_earliest_ts),
schema="GITHUB",
accumulator={},
accumulator_updater=github_activity_type.get_accumulator_updater(),
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is very clean and easy to understand. 🔥

data-workflows/activity/snowflake_adapter.py Outdated Show resolved Hide resolved
data-workflows/handler.py Outdated Show resolved Hide resolved
data-workflows/handler.py Outdated Show resolved Hide resolved
data-workflows/handler.py Outdated Show resolved Hide resolved
codemonkey800
codemonkey800 previously approved these changes Apr 12, 2023
Copy link
Collaborator

@codemonkey800 codemonkey800 left a comment

Choose a reason for hiding this comment

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

one small comment but LGTM

data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
@klai95 klai95 requested a review from edu-bob April 13, 2023 17:21
…ain parity with the implementation of install activity
…ionary contains lower case value of plugin name, and therefore there is no need for plugin_name.lower()
data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
data-workflows/activity/snowflake_adapter.py Outdated Show resolved Hide resolved
data-workflows/activity/snowflake_adapter.py Show resolved Hide resolved
kne42
kne42 previously approved these changes Apr 14, 2023
Copy link
Member

@kne42 kne42 left a comment

Choose a reason for hiding this comment

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

Lots cleaner thanks!

codemonkey800
codemonkey800 previously approved these changes Apr 14, 2023
Copy link
Collaborator

@codemonkey800 codemonkey800 left a comment

Choose a reason for hiding this comment

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

🔥

@klai95 klai95 dismissed stale reviews from codemonkey800 and kne42 via dd71781 April 24, 2023 21:07
kne42
kne42 previously approved these changes Apr 24, 2023
Copy link
Member

@kne42 kne42 left a comment

Choose a reason for hiding this comment

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

some nits, otherwise lgtm

data-workflows/activity/github_activity_model.py Outdated Show resolved Hide resolved
data-workflows/activity/snowflake_adapter.py Outdated Show resolved Hide resolved
@klai95 klai95 enabled auto-merge (squash) April 26, 2023 18:21
@klai95 klai95 dismissed stale reviews from richaagarwal and manasaV3 April 26, 2023 18:22

feedback has been addressed

@klai95 klai95 merged commit e036ab2 into main Apr 26, 2023
@klai95 klai95 deleted the maintenance-etl-workflow branch April 26, 2023 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature Release Label: Used for categorizing features in automated release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants