Commit 0616961 1 parent 6306c9a commit 0616961 Copy full SHA for 0616961
File tree 1 file changed +7
-3
lines changed
metadata-ingestion/src/datahub/ingestion/source
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -750,7 +750,7 @@ def generate_physical_dataset_lineage(
750
750
cll .append (
751
751
ColumnLineageInfo (
752
752
downstream = DownstreamColumnRef (
753
- table = None ,
753
+ table = datasource_urn ,
754
754
column = column .get ("column_name" , "" ),
755
755
native_column_type = column .get ("type" , "" ),
756
756
),
@@ -768,8 +768,12 @@ def generate_physical_dataset_lineage(
768
768
769
769
for cll_info in cll :
770
770
downstream = (
771
- [make_schema_field_urn (datasource_urn , cll_info .downstream .column )]
772
- if cll_info .downstream and cll_info .downstream .column
771
+ [
772
+ make_schema_field_urn (
773
+ cll_info .downstream .table , cll_info .downstream .column
774
+ )
775
+ ]
776
+ if cll_info .downstream
773
777
else []
774
778
)
775
779
upstreams = [
You can’t perform that action at this time.
0 commit comments