Skip to content

Commit b1302c9

Browse files
authored
Merge pull request #71 from github/caol-ila-fix-mv-on-mv
Fix MVs on MVs
2 parents 314ec23 + 06f3618 commit b1302c9

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)