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

fix(ingest/dbt): resolve more dbt ephemeral node lineage gaps #10553

Merged
merged 2 commits into from
May 22, 2024

Conversation

hsheth2
Copy link
Collaborator

@hsheth2 hsheth2 commented May 21, 2024

This is mostly a refactor. The main change is lowercasing the fake ephemeral names and fixing a minor bug in the lineage generator.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

This is mostly a refactor. The main change is also lowercasing the fake
ephemeral names.
@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label May 21, 2024
@@ -1212,6 +1192,56 @@ def _infer_schemas_and_update_cll( # noqa: C901
if inferred_schema_fields:
node.columns_setdefault(inferred_schema_fields)

def _parse_cll(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for moving this part out from the looooong method

@hsheth2 hsheth2 changed the title fix(ingest): resolve more dbt ephemeral node lineage gaps fix(ingest/dbt): resolve more dbt ephemeral node lineage gaps May 22, 2024
@hsheth2 hsheth2 merged commit 7a519ac into master May 22, 2024
58 checks passed
@hsheth2 hsheth2 deleted the dbt-eph-node-snowflake branch May 22, 2024 19:44
MatMoore added a commit to ministryofjustice/data-catalogue that referenced this pull request Jul 23, 2024
A couple of fixes have gone into Datahub that I think may resolve
the recursion errors.

- datahub-project/datahub#10553 went into
  0.13.3
- datahub-project/datahub#10678 went into
  0.13.3.4

I'd like to retest this on 0.13.3.4 to see if this is the case.
If not, then we can report the stack trace to Datahub.
hjribeiro-moj pushed a commit to ministryofjustice/data-catalogue that referenced this pull request Jan 21, 2025
A couple of fixes have gone into Datahub that I think may resolve
the recursion errors.

- datahub-project/datahub#10553 went into
  0.13.3
- datahub-project/datahub#10678 went into
  0.13.3.4

I'd like to retest this on 0.13.3.4 to see if this is the case.
If not, then we can report the stack trace to Datahub.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingestion PR or Issue related to the ingestion of metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants