Hi Team, We have Datahub integrated with Airflow +...
# advice-metadata-modeling
l
Hi Team, We have Datahub integrated with Airflow + Snowflake + dbt + tableau. I am trying to do some custom metadata updates using graphql API. Currently airflow DAG owner name is flowing DAG to Datahub. We want to keep a different set of owner naming conventions in Airflow, but it should be updated to
ldap
user name (datahub signed in user) in Datahub for these Airflow entities (DAGs and tasks). How can I update Airflow owner name in Datahub (keeping different Airflow owner in Airflow UI) ? Is there a way we can update using API calls or ingestion in Datahub?
r
The code snippets here might help for adding owners using the SDK https://datahubproject.io/docs/api/tutorials/owners/#add-owners If there's a simple transformation for converting the airflow owner name -> the urn you want to use in datahub, we'd also accept a PR for that on the Airflow plugin