Fix #19317: Add MaterializedView & DynamicTable for lineage computation (#19373)

This commit is contained in:
Mayur Singal 2025-01-16 11:12:02 +05:30 committed by GitHub
parent c1100d6751
commit 14164cf7ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -403,7 +403,16 @@ class ESMixin(Generic[T]):
"bool": {
"must": [
{"term": {"service.name.keyword": service_name}},
{"term": {"tableType": TableType.View.value}},
{
"term": {
"tableType": [
TableType.View.value,
TableType.MaterializedView.value,
TableType.SecureView.value,
TableType.Dynamic.value,
]
}
},
{"term": {"deleted": False}},
{"exists": {"field": "schemaDefinition"}},
]