mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-02 19:58:59 +00:00
fix(ingest/bigquery): skip self-references when generating lineage (#8403)
This commit is contained in:
parent
71f80b6207
commit
ffd14eebf1
@ -681,6 +681,10 @@ timestamp < "{end_time}"
|
||||
for upstream_lineage in lineage_metadata[str(bq_table)]:
|
||||
upstream_table_ref = upstream_lineage.table
|
||||
upstream_table = BigQueryTableRef.from_string_name(upstream_table_ref)
|
||||
if bq_table == upstream_table:
|
||||
# Skip self-references.
|
||||
continue
|
||||
|
||||
if upstream_table.is_temporary_table(
|
||||
[self.config.temp_table_dataset_prefix]
|
||||
):
|
||||
|
||||
@ -413,7 +413,7 @@ class DatabaseTable:
|
||||
|
||||
@platform_name("Tableau")
|
||||
@config_class(TableauConfig)
|
||||
@support_status(SupportStatus.INCUBATING)
|
||||
@support_status(SupportStatus.CERTIFIED)
|
||||
@capability(SourceCapability.PLATFORM_INSTANCE, "Enabled by default")
|
||||
@capability(SourceCapability.DOMAINS, "Requires transformer", supported=False)
|
||||
@capability(SourceCapability.DESCRIPTIONS, "Enabled by default")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user