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 MetricTimeDefaultGranularityPattern #1322

Merged
merged 3 commits into from
Jul 15, 2024

Conversation

courtneyholcomb
Copy link
Contributor

Adds a new SpecPattern called MetricTimeDefaultGranularityPattern. This will be used to apply the default_granularity from a queried metric to metric_time if no granularity is specified.

Also includes some related cleanup:

@courtneyholcomb courtneyholcomb requested a review from plypaul July 11, 2024 02:16
@cla-bot cla-bot bot added the cla:yes label Jul 11, 2024
@courtneyholcomb courtneyholcomb force-pushed the court/default-granularity1 branch from 613050a to 80880f2 Compare July 11, 2024 02:23
@cla-bot cla-bot bot added the cla:yes label Jul 11, 2024
@dbt-labs dbt-labs deleted a comment from github-actions bot Jul 11, 2024
@courtneyholcomb courtneyholcomb force-pushed the court/default-granularity1 branch 2 times, most recently from 5acabec to 377846a Compare July 12, 2024 14:33
@courtneyholcomb courtneyholcomb changed the base branch from court/metric-time-default to main July 12, 2024 14:34
This change is intended to make it more clear what the difference is between MinimumTimeGrainPattern and MetricTimeDefaultTimeGranularityPattern, since 'base' might easily be confused with 'default'.
@courtneyholcomb courtneyholcomb force-pushed the court/default-granularity1 branch from db76f4a to 30d5b6c Compare July 12, 2024 15:38
@courtneyholcomb courtneyholcomb force-pushed the court/default-granularity1 branch from 30d5b6c to 86f6109 Compare July 12, 2024 15:41
@courtneyholcomb courtneyholcomb merged commit 478bd85 into main Jul 15, 2024
15 checks passed
@courtneyholcomb courtneyholcomb deleted the court/default-granularity1 branch July 15, 2024 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants