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

Bug fix: compatible granularities for date_part #212

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

courtneyholcomb
Copy link
Contributor

Description

Bug fix. This logic was reversed - we can only support granularities that are <= the date part requested. This did not cause any downstream issues because this method is only used in an error message.
I'll then need to put up a DSI dev release to get this change into MetricFlow.

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have signed the CLA
  • This PR includes tests, or tests are not required/relevant for this PR

@courtneyholcomb courtneyholcomb merged commit 30a3f63 into main Nov 20, 2023
16 checks passed
@courtneyholcomb courtneyholcomb deleted the court/date-part-granularity branch November 20, 2023 20:55
@QMalcolm QMalcolm added the Backport 0.4.latest Fix should be backported to 0.4.latest label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport 0.4.latest Fix should be backported to 0.4.latest cla:yes Skip Changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants