Add time granularity handling configuration #145
Labels
backlog
Backport 0.2.latest
Fix should be backported to 0.2.latest
enhancement
New feature or request
Is this your first time submitting a feature request?
Describe the feature
See dbt-labs/metricflow#714 for background context.
Sometimes users have a granularity set for a time dimension that is coarser than the granularity stored in their warehouse. While this does not follow our recommended practice, there are valid use cases for doing so. As such, we need to be able to coerce the data into the expected granularity when needed.
However, we do not want to just date_trunc() everything all the time, as that leads to confusing SQL and wasted processing.
The solution we've settled on is to provide a configuration parameter users can set to conform the values to the specified granularity.
Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: