Skip to content

Commit 7f06980

Browse files
committed
cleanup whitespace
1 parent e380546 commit 7f06980

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

KustoSchemaTools/Model/MaterializedView.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,11 @@ public class MaterializedView : IKustoBaseEntity
2424
[Obsolete("Use policies instead")]
2525
public string? RowLevelSecurity { get; set; }
2626
public Policy? Policies { get; set; }
27-
2827
public bool Preformatted { get; set; } = false;
29-
3028
public List<DatabaseScriptContainer> CreateScripts(string name, bool isNew)
3129
{
3230
var asyncSetup = isNew && Backfill == true;
3331

34-
3532
var excludedProperties = new HashSet<string>(["Query", "Source", "Kind", "RetentionAndCachePolicy", "RowLevelSecurity", "Policies"]);
3633
if (!asyncSetup)
3734
{
@@ -46,7 +43,6 @@ public List<DatabaseScriptContainer> CreateScripts(string name, bool isNew)
4643
.Where(p => !string.IsNullOrWhiteSpace(p.Value?.ToString()))
4744
.Select(p => $"{p.Name}=```{p.Value}```"));
4845

49-
5046
if (asyncSetup)
5147
{
5248
scripts.Add(new DatabaseScriptContainer("CreateMaterializedViewAsync", Kind == "table" ? 40 : 41, $".create async ifnotexists materialized-view with ({properties}) {name} on {Kind} {Source} {{ {Query} }}", true));
@@ -59,9 +55,7 @@ public List<DatabaseScriptContainer> CreateScripts(string name, bool isNew)
5955
{
6056
scripts.AddRange(Policies.CreateScripts(name, "materialized-view"));
6157
}
62-
6358
return scripts;
6459
}
6560
}
66-
6761
}

0 commit comments

Comments
 (0)