-
Notifications
You must be signed in to change notification settings - Fork 94
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] meta
field not added to the metric
#1365
Comments
Hey @tlento, can you please check this one? |
MetricFlow itself has no notion of a The As for the dbt output, the dbt core parser should be taking the raw If this isn't happening that suggests a bug in the core parser. |
I think your options are:
|
Is this a new bug in metricflow?
Current Behavior
Scavaging through the documentation, we found two ways of adding
metadata
for metricsmeta
can be defined at the top-level with a metric. So, something like the followingmeta
can be added inside theconfig
object. So, something like the followingWe tried both syntaxes. But when
dbt compile
is run, neither thesemantic_manifest.json
nor theoutput.json
has the value added to themetadata
field. As a result, runningmetricFlowEngine.list_metrics()
also does not return any metadata.Expected Behavior
The value should be added to the
metadata
field. So, thesemantic_manifest.json
should have the following.And
metricFlowEngine.list_metrics()
should return the value inmetadata
field as well.Steps To Reproduce
meta
fielddbt compile
and then check thesemantic_manifest.json
or runmetricFlowEngine.list_metrics()
.metadata
field.Relevant log output
No response
Environment
Which database are you using?
snowflake
Additional Context
No response
The text was updated successfully, but these errors were encountered: