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

Don't require time_granularity_name in QueryInterfaceTimeDimensionFactory #307

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

courtneyholcomb
Copy link
Contributor

@courtneyholcomb courtneyholcomb commented Jul 3, 2024

Resolves #306

Description

Currently, the protocol for QueryInterfaceTimeDimensionFactory requires time_granularity_name to be set. This is inconsistent with other interfaces, where granularity is not required and can be resolved at query time. For example, the DSI implementation of this protocol (WhereFilterTimeDimensionFactory) does not require the parameter, but the implementation in MFS does.
I did not include tests since this is a change to the protocol only. The corresponding change in MFS will have tests.

Checklist

@courtneyholcomb courtneyholcomb merged commit ecf39ed into main Jul 3, 2024
73 checks passed
@courtneyholcomb courtneyholcomb deleted the court/grain-requirement branch July 3, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Inconsistency between time dimension Jinja objects for time_granularity_name
2 participants