feat(ingestion/bigquery): support for table clones (#10274)

Co-authored-by: Equipo DataOps <cagutierra@unal.edu.co>
This commit is contained in:
Camilo Gutierrez 2024-04-24 07:34:02 -05:00 committed by GitHub
parent ec21b018f1
commit cb6d744ae7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,7 +74,7 @@ FROM
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,
@ -101,7 +101,7 @@ FROM
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,