<@U06TM7M40RK> How to get all domain hierarchy with parent domains and sub domains?
To retrieve the entire domain hierarchy, including parent domains and subdomains, you can use the GraphQL queries provided by DataHub. Specifically, you can use the listDomains
query to get a list of domains and their hierarchical relationships.
According to the <https://github.com/datahub-project/datahub/blob/master/datahub-web-react/src/graphql/domain.graphql|DataHub GraphQL schema>, you can use the listDomains
query to fetch domains along with their parent domains. Here’s a basic example of how you might structure such a query:
query listDomains($input: ListDomainsInput!) {
listDomains(input: $input) {
domains {
urn
id
type
properties {
name
description
}
parentDomains {
urn
properties {
name
}
}
}
}
}
This query will return a list of domains, each with its unique resource name (URN), type, properties (such as name and description), and parent domains. You can adjust the ListDomainsInput
to filter or paginate the results as needed.
If you want to explore more about creating or managing domains, including nested domains, you can refer to the <https://github.com/datahub-project/datahub/blob/master/docs/api/tutorials/domains.md|DataHub Domains Guide>.
Would you like more detailed guidance on executing this query or handling the results?
Sources:
- <https://github.com/datahub-project/datahub/blob/master/datahub-web-react/src/graphql/domain.graphql|DataHub GraphQL schema>
- <https://github.com/datahub-project/datahub/blob/master/docs/api/tutorials/domains.md|DataHub Domains Guide> 0 button 0 button Hint: Mention @runllm in the thread for followups.
<@U06TM7M40RK> we upgraded to version 0.14.1 and we are getting Unsupported entity type: GLOSSARY_NODE
and Unsupported entity type: GLOSSARY_TERM
in our logs. what does it mean?
It seems likely that the messages Unsupported entity type: GLOSSARY_NODE
and Unsupported entity type: GLOSSARY_TERM
in your logs are related to event tracking within DataHub. According to a <Slack conversation>, these messages are typically informational logs from the event tracker and do not necessarily indicate a functional issue with the application. They are more about logging unsupported event types for tracking purposes.
However, if you are experiencing any functional issues related to glossary nodes or terms, it might be worth checking if there are any updates or fixes available in the latest DataHub releases or if there are any specific configurations that need to be adjusted after the upgrade.
Would you like more detailed information on how to address these log messages or any potential impact they might have?
Sources:
- <Slack conversation on unsupported entity types> 0 button 0 button Hint: Mention @runllm in the thread for followups.
Hi ! Did this interaction resolve your issue or do you still require assistance ?
Please tag @ RunLLM if you still need further assistance !
Or tag @Datahub Community Support if you require a person to take a look
Hope this helps ! ><