Skip to content
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

openlineage metadata not supported with dbt-glue adaptor #1430

Open
bhawesh490 opened this issue Dec 26, 2024 · 2 comments
Open

openlineage metadata not supported with dbt-glue adaptor #1430

bhawesh490 opened this issue Dec 26, 2024 · 2 comments
Labels
area:lineage Related to open lineage or DBT dataset lineage enhancement New feature or request

Comments

@bhawesh490
Copy link

Hi
Am using dbt glue adaptor for one of my client.
however there is the need for openlineage solution and we are trying to implement marquez with dbt glue adaptor
Whenever i am using dbt glue adaptor along with cosmos using dbtdag operator i am not able to see the lineage in marquez ui
however same is visible in any other adaptor like dbt-redshift dbt-snowflake.
can you suggest any workaround to solve this

Copy link

dosubot bot commented Dec 26, 2024

To address the issue of OpenLineage metadata not appearing in Marquez when using the dbt-glue adapter with Cosmos, ensure the following configurations are in place:

  1. OpenLineage Provider: Make sure you have the appropriate OpenLineage provider installed. If you are using Airflow 2.7 or higher, install apache-airflow-providers-openlineage. For earlier versions, install Cosmos with astronomer-cosmos[openlineage] [1].

  2. Namespace Configuration: Configure the namespace using the Airflow [openlineage] namespace property, the OPENLINEAGE_NAMESPACE environment variable, or default to "cosmos" [1].

  3. Logging for Debugging: Utilize the logging features in Cosmos to diagnose issues. The codebase includes debug logging that can help identify problems with OpenLineage event parsing. Look for debug messages like "Unable to parse OpenLineage events" to gain insights into potential issues [2].

These steps should help in troubleshooting and potentially resolving the issue with OpenLineage metadata not appearing in Marquez when using the dbt-glue adapter.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot dosubot bot added the area:lineage Related to open lineage or DBT dataset lineage label Dec 26, 2024
@tatiana
Copy link
Collaborator

tatiana commented Dec 27, 2024

Hi @bhawesh490 , thanks for reaching out.

This is a known limitation of the open-source library Cosmos uses to extract open-lineage data after running dbt commands, openlineage-integration-common.

These are the dbt adaptors currently supported :
https://github.com/OpenLineage/OpenLineage/blob/41afe4dd50773a5c0902679c91622031d64a06b9/integration/common/openlineage/common/provider/dbt/processor.py#L36C1-L47C22

Would you be interested in contributing to the OpenLineage project to extend it to support dbt-glue? Not only the OL community would benefit from this, but also the Cosmos community.

@mobuchowski do you know if there are any plans of supporting dbt-glue in this component?

@tatiana tatiana added the enhancement New feature or request label Dec 27, 2024
tatiana added a commit that referenced this issue Dec 27, 2024
Support users who may have questions similar to:
* #1423
* #1430
tatiana added a commit that referenced this issue Dec 27, 2024
Support users who may have questions similar to:
* Related to: #1423
* Related to: #1430
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:lineage Related to open lineage or DBT dataset lineage enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants