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 ulixius9
parent 89fbf8fcdc
commit 44c2cdb199

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"}},
]