mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-01 19:25:56 +00:00
fix(ingest) - bigquery-beta - Using table ref instead of table id (#6193)
This commit is contained in:
parent
6e34cd6001
commit
0162074a37
@ -234,9 +234,7 @@ timestamp < "{end_time}"
|
||||
logger.info(
|
||||
f"Start iterating over log entries from BigQuery for {client.project}"
|
||||
)
|
||||
|
||||
for entry in entries:
|
||||
# for num in range(0, 100):
|
||||
self.report.num_total_log_entries[client.project] += 1
|
||||
if self.report.num_total_log_entries[client.project] % 1000 == 0:
|
||||
logger.info(
|
||||
@ -418,9 +416,7 @@ timestamp < "{end_time}"
|
||||
continue
|
||||
has_table = False
|
||||
for ref_table in e.referencedTables:
|
||||
ref_table_str = (
|
||||
ref_table.get_sanitized_table_ref().table_identifier.get_table_name()
|
||||
)
|
||||
ref_table_str = str(ref_table.get_sanitized_table_ref())
|
||||
if ref_table_str != destination_table_str:
|
||||
lineage_map[destination_table_str].add(ref_table_str)
|
||||
has_table = True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user