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

Allow passing granularity in where filter TimeDimension name #1316

Merged
merged 2 commits into from
Jul 9, 2024

Conversation

courtneyholcomb
Copy link
Contributor

Allow users to use dunder syntax to pass granularity in where filter TimeDimension. Ex:
{{ TimeDimension('metric_time__month') }} > 2020-01-01
This behavior is currently implemented everywhere else that similar Jinja parsing happens, making this one site inconsistent. Fix that to avoid user confusion.

Copy link
Contributor

@DevonFulcher DevonFulcher left a comment

Choose a reason for hiding this comment

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

Thank you!

@courtneyholcomb courtneyholcomb merged commit 3fd75e8 into main Jul 9, 2024
43 checks passed
@courtneyholcomb courtneyholcomb deleted the court/grain-in-where branch July 9, 2024 01:31
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