Skip to content

Commit

Permalink
fix(ingest/snowflake): handle column level lineage for dbt temporary …
Browse files Browse the repository at this point in the history
…tables (datahub-project#10258)

Co-authored-by: Harshal Sheth <[email protected]>
  • Loading branch information
2 people authored and sleeperdeep committed Jun 25, 2024
1 parent eacc98c commit 3470441
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ def table_upstreams_with_column_lineage(
SELECT
r.value : "objectName" :: varchar AS upstream_table_name,
r.value : "objectDomain" :: varchar AS upstream_table_domain,
w.value : "objectName" :: varchar AS downstream_table_name,
REPLACE(w.value : "objectName" :: varchar, '__DBT_TMP', '') AS downstream_table_name,
w.value : "objectDomain" :: varchar AS downstream_table_domain,
wcols.value : "columnName" :: varchar AS downstream_column_name,
wcols_directSources.value : "objectName" as upstream_column_table_name,
Expand Down

0 comments on commit 3470441

Please sign in to comment.