Skip to content

Commit

Permalink
feat(ingestion/bigquery): support for table clones (#10274)
Browse files Browse the repository at this point in the history
Co-authored-by: Equipo DataOps <[email protected]>
  • Loading branch information
camilogutierrez and Equipo DataOps authored Apr 24, 2024
1 parent ec21b01 commit cb6d744
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class BigqueryQuery:
table_name) as p on
t.table_name = p.table_name
WHERE
table_type in ('{BigqueryTableType.BASE_TABLE}', '{BigqueryTableType.EXTERNAL}')
table_type in ('{BigqueryTableType.BASE_TABLE}', '{BigqueryTableType.EXTERNAL}', '{BigqueryTableType.CLONE}')
{{table_filter}}
order by
table_schema ASC,
Expand All @@ -101,7 +101,7 @@ class BigqueryQuery:
and t.TABLE_NAME = tos.TABLE_NAME
and tos.OPTION_NAME = "description"
WHERE
table_type in ('{BigqueryTableType.BASE_TABLE}', '{BigqueryTableType.EXTERNAL}')
table_type in ('{BigqueryTableType.BASE_TABLE}', '{BigqueryTableType.EXTERNAL}', '{BigqueryTableType.CLONE}')
{{table_filter}}
order by
table_schema ASC,
Expand Down

0 comments on commit cb6d744

Please sign in to comment.