You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a regression in a recent version of metricflow?
I believe this is a regression in metricflow functionality
I have searched the existing issues, and I could not find an existing issue for this regression
Current Behavior
Hi all! I understand, that this part can be slightly related to metricflow, but I believe that resolution of the following issue leads to the current state.
I have semantic_model.yml file with described model and other attributes (just part of it below)
and I want to get meta or tags or whatever using Discovery API.
There is possibility to add meta and tags to API query. But the result is empty. And there is no possibility to add config to query instead. (using https://ye912.metadata.us1.dbt.com/graphql)
Discovery API can return all attributes from config property for semantic_models.
Steps To Reproduce
Way 1.
Go to https://ye912.metadata.us1.dbt.com/graphql and make sure that there is no property config in API.
Meta and Tags exist in API but they cannot be added directly to yml file, an error occured during validation.
Add meta property to semantic_models
semantic_models:
- name: my_model
meta:
test: test
....
Run dbt parse
Get an error Invalid semantic_models config given in FilePath(searched_path='models', relative_path='semantic_models\\my_model.yml', ... - at path []: Additional properties are not allowed ('meta' was unexpected) - if I can't add them to yml, I can't query via API
Way 2.
In semantic_model.yml file add property config with meta and/or tags attributes.
Is this a regression in a recent version of metricflow?
Current Behavior
Hi all! I understand, that this part can be slightly related to metricflow, but I believe that resolution of the following issue leads to the current state.
I have semantic_model.yml file with described model and other attributes (just part of it below)
and I want to get meta or tags or whatever using Discovery API.
There is possibility to add
meta
andtags
to API query. But the result is empty. And there is no possibility to addconfig
to query instead. (using https://ye912.metadata.us1.dbt.com/graphql)Expected/Previous Behavior
Discovery API can return all attributes from
config
property for semantic_models.Steps To Reproduce
Way 1.
Go to https://ye912.metadata.us1.dbt.com/graphql and make sure that there is no property config in API.
Meta and Tags exist in API but they cannot be added directly to yml file, an error occured during validation.
dbt parse
Invalid semantic_models config given in FilePath(searched_path='models', relative_path='semantic_models\\my_model.yml', ... - at path []: Additional properties are not allowed ('meta' was unexpected)
- if I can't add them to yml, I can't query via APIWay 2.
environmentId
andfirst
variables)Relevant log output
No response
Environment
Which database adapter are you using with metricflow?
bigquery
Additional Context
No response
The text was updated successfully, but these errors were encountered: