MINOR: Fix Materialized View Lineage (#18539)

This commit is contained in:
Mayur Singal 2024-11-07 13:51:54 +05:30 committed by GitHub
parent 6fa76ecde9
commit 8d40d8ea77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -594,7 +594,11 @@ class CommonDbSourceService(
self.register_record(table_request=table_request)
# Flag view as visited
if table_type == TableType.View and schema_definition:
if (
table_type
in (TableType.View, TableType.MaterializedView, TableType.SecureView)
and schema_definition
):
table_view = TableView(
table_name=table_name,
schema_name=schema_name,