Skip to content

Commit 436b0d0

Browse files
author
Kusto Build System
committed
Auto-sync from Azure-Kusto-Service
1 parent e8dd072 commit 436b0d0

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

src/Kusto.Language.Generators/EngineCommandInfos.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3597,7 +3597,7 @@ [partition by
35973597

35983598
public static readonly CommandInfo CreateTempStorage =
35993599
new CommandInfo(nameof(CreateTempStorage),
3600-
"create tempstorage",
3600+
$"create tempstorage [{PropertyList("cors")}]",
36013601
UnknownResult);
36023602

36033603
public static readonly CommandInfo DropTempStorage =

src/Kusto.Language/Parser/CodeGen/EngineCommandGrammar.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7670,7 +7670,21 @@ internal override CommandParserInfo[] CreateCommandParsers(PredefinedRuleParsers
76707670
var CreateTempStorage = Command("CreateTempStorage",
76717671
Custom(
76727672
Token("create", CompletionKind.CommandPrefix),
7673-
Token("tempstorage")));
7673+
Token("tempstorage"),
7674+
Optional(
7675+
Custom(
7676+
Token("with"),
7677+
Token("("),
7678+
OneOrMoreCommaList(
7679+
Custom(
7680+
Best(
7681+
Token("cors"),
7682+
If(Not(Token("cors")), rules.NameDeclaration)),
7683+
Token("="),
7684+
rules.Value,
7685+
shape31)),
7686+
Token(")"))),
7687+
shape25));
76747688

76757689
var DropTempStorage = Command("DropTempStorage",
76767690
Custom(

0 commit comments

Comments
 (0)