Hello,
I’m experiencing issues with DBT ingestion. It seems the meta_mapping functionality isn’t working beyond the default configuration. When I ran the ingestion for the first time, it successfully tagged all my tables with the tags I had in DBT. However, I’m unable to perform any other actions. Whenever I try to add terms, assign users, or make similar updates, nothing happens.
To address the issues you’re experiencing with the meta_mapping functionality in your DBT ingestion setup, let’s break down the potential solutions and checks you can perform:
Verify Meta Mapping Configuration: Ensure that your meta_mapping configuration is correctly set up. According to the <https://datahubproject.io/docs/0.14.0/generated/ingestion/sources/dbt#dbt-meta-automated-mappings|DataHub documentation on dbt meta automated mappings>, the meta_mapping section should be defined properly with the correct operations and configurations. Double-check the syntax and ensure that the operations (add_owner, add_term, add_doc_link) are correctly specified.
Check for Regex Matching: The match field in your meta_mapping uses regex to determine which meta properties to apply the operations to. Ensure that the regex patterns are correctly matching the intended meta properties in your DBT models. You can test these regex patterns separately to confirm they match the expected values.
Review Metadata Endpoint and Access URL: Ensure that the access_url and metadata_endpoint are correctly configured. According to the <https://datahubproject.io/docs/0.14.0/generated/ingestion/sources/dbt|DataHub documentation>, these URLs are crucial for accessing the DBT Cloud APIs and fetching metadata. Verify that these URLs are correct and accessible.
Enable Debug Logging: Run the DataHub CLI with debug logs enabled to get more insights into what might be going wrong. Use the --debug flag to enable detailed logging:
Check for Known Issues and Updates: There might be known issues with the version of DataHub or the dbt ingestion plugin you are using. Consider checking for any updates or patches that might address these issues.
Inspect DBT Artifacts: Ensure that the DBT artifacts (manifest.json, catalog.json, sources.json, run_results.json) are correctly generated and contain the expected metadata. Manually inspect these files to ensure they include the necessary information about your models.
Would you like more detailed steps or further assistance on any specific part of this process?
Hi, how did my answer work out for you? Need any more assistance? You can also tag <@U07FV3UHE4D> to let your fellow community members know you’re still looking for guidance.