-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CT-2938] [spike] Automate creation of metricflow_time_spine
if the project defines semantic objects
#8319
Comments
metricflow_time_spine
if the project defines semantic objectsmetricflow_time_spine
if the project defines semantic objects
Discussed during estimation meeting: Complications with partial parsing - we've never internally created a model without a matching file to it. If you add a semantic model, you have to add this model. If you remove your last semantic model, you have to remove this model. |
metricflow_time_spine
if the project defines semantic objectsmetricflow_time_spine
if the project defines semantic objects
I might be crazy but I think this is actually pretty straight forward 🤔 |
If we create this model automatically, I think we will need to have a cross-database macro for date type - to feed the proper inputs ( |
So there are two main concerns I believe:
For Issue (1) there are four possible states a. I think the solution is at the end of parsing if there are semantic layer nodes and no a. the For issue (2) I don't think we need a cross-database macro for date types, though it would be nice. Instead we could just use the same jinja template we use for the |
What jinja template is this? Curious what it looks like |
@graciegoheen it looks like this currently
|
Got it - that makes sense! @dbeatty10 curious your thoughts here - would a cross-database macro for date type be:
|
@graciegoheen this idea makes sense to me to support a built-in
What do you think about calling it
|
follow-up to #7938
related to #8172
Big idea
metricflow_time_spine
, we raise an error.Acceptance criteria (spike)
select 1 as fun
.The text was updated successfully, but these errors were encountered: