tall-gigabyte-99212
08/31/2023, 10:36 AMaloof-gpu-11378
09/01/2023, 6:41 AMtall-gigabyte-99212
09/01/2023, 6:47 AMaloof-gpu-11378
09/01/2023, 10:34 PMaloof-gpu-11378
09/06/2023, 4:30 PMFineGrainedLineage object in the docs you linked creates a column-level lineage edge. Thus, to accomplish your scenario, you could do:
fineGrainedLineages = [
FineGrainedLineage(upstreamType=FIELD_SET, upstreams=[fldUrn("table1", "id")], downstreamType=FIELD, downstreams=[fldUrn("table2", "id1")]),
FineGrainedLineage(upstreamType=FIELD_SET, upstreams=[fldUrn("table1", "name")], downstreamType=FIELD, downstreams=[fldUrn("table2", "name1")]),
]