We want to bring all of the tags from either the `...
# ingestion
g
We want to bring all of the tags from either the
tag
or
meta
property inside our dbt documentation into DataHub. After reviewing the example recipe, it looks more like the command is to
Do X if Y is detected
. While this makes sense for known tags (like PII), ideally we would send all tags from dbt to DataHub without any predefined knowledge or recipe. Any ideas on the syntax to do that?
l
@square-activity-64562 ^
s
@green-pencil-45127 Currently what you are asking for is not supported. Please feel free to raise a request through https://feature-requests.datahubproject.io/. If you would like to add this feature yourself you can refer to this guide https://datahubproject.io/docs/metadata-ingestion/developing/ and discuss in #contribute channel for any help required
g
Thanks for the quick response! I’ll submit a feature request.
g
Hey @green-pencil-45127 - it turns out this is actually due to a bug in the dbt ingestion source- we’ll work on getting it fixed for you
no need to file a feature request!
g
oh - wonderful!!! Thank you!
Any updates? Anything I can help with??
l
@green-football-43791 ^
g
@green-football-43791??
l
We will have an update soon with an ETA. sorry about the delay
h
Hi @green-pencil-45127, I just want to understand your question more clearly. Currently, the dbt connector pulls all tags automatically from the
tags
property array of the nodes and sources. However, in your instance you have a meta property called `tag`/`meta` and you are interested in knowing how to get the values of this property ingested as the tags for the dataset into datahub via the meta-mapping config param.
g
Currently, the dbt connector pulls all tags automatically from the
tags
property array of the nodes and sources.
I’ve tested this - and it doesn’t appear that way.
datahub is pulling all of the tags in for dataset nodes (dbt models), but not for columns. For instance, we have two tags listed for column
company_address_1
, and yet no tags show in datahub:
h
Hi @green-pencil-45127, could you share what you get when you run the following command:
datahub get --urn '<the-dataset-urn>' -a schemaMetadata
?