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

add: generate aggregate ket metrics models #2937

Merged
merged 3 commits into from
Feb 2, 2025

Conversation

Jabolol
Copy link
Contributor

@Jabolol Jabolol commented Feb 2, 2025

This PR closes #2906 by removing intermediate key metric models in favor of auto-generated models by the SQLMesh factory, following the approach used by time series metrics. It also closes #2898 by addressing feedback regarding column naming.

Copy link

vercel bot commented Feb 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kariba-network ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 2, 2025 8:16pm
oso-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 2, 2025 8:16pm

Copy link

@oso-prs oso-prs bot left a comment

Choose a reason for hiding this comment

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

Auto-approved! please merge responsibly 😄

@Jabolol Jabolol changed the title add: add: generate aggregate ket metrics models Feb 2, 2025
@oso-prs
Copy link

oso-prs bot commented Feb 2, 2025

Test deployment unnecessary, no dbt files have been changed.

Copy link
Member

@ravenac95 ravenac95 left a comment

Choose a reason for hiding this comment

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

LGTM!

name=f"metrics.key_metrics_to_{entity_type}",
is_sql=True,
kind="VIEW",
dialect="clickhouse",
Copy link
Member

Choose a reason for hiding this comment

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

This makes me realize we need to remove the clickhouse references in this library.

@ravenac95
Copy link
Member

ravenac95 commented Feb 2, 2025

@Jabolol were you able to attempt to run this on local-trino? No need to right now i'm just curious if you attempted at all because I haven't tried running it on a laptop.

@Jabolol
Copy link
Contributor Author

Jabolol commented Feb 2, 2025

@Jabolol were you able to attempt to run this on local-trino? No need to right now i'm just curious if you attempted at all because I haven't tried running it on a laptop.

I have not, but I can run it over the next few days or we can check it out together on Tuesday!

@Jabolol Jabolol added this pull request to the merge queue Feb 2, 2025
Merged via the queue into main with commit d72543b Feb 2, 2025
9 checks passed
@Jabolol Jabolol deleted the jabolol/aggregate-key-metrics branch February 2, 2025 21:44
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.

Create aggregate key metrics models Address key metrics feedback
2 participants