Skip to content

Commit 8aad923

Browse files
author
Thomas Mahlberg
committed
Fix MV on MV
1 parent c0ad5fb commit 8aad923

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

KustoSchemaTools/Parser/DatabaseCleanup.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ public void CleanUp(Database database)
6565
{
6666
entity.Value.RetentionAndCachePolicy = null;
6767
}
68+
69+
if (database.MaterializedViews.ContainsKey(entity.Value.Source))
70+
{
71+
entity.Value.Kind = "materialized-view";
72+
}
6873
}
6974

7075
foreach (var entity in database.Functions)

0 commit comments

Comments
 (0)