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 (#10258)

Co-authored-by: Harshal Sheth <hsheth2@gmail.com>
  • Loading branch information
john-claro-cko and hsheth2 authored May 28, 2024
1 parent d26c190 commit 776e5c4
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 776e5c4

Please sign in to comment.