microsoft / Kusto-Query-Language

Kusto Query Language is a simple and productive language for querying Big Data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.create-or-alter mapping recognized as CreateOrAleterWorkloadGroup

vplauzon opened this issue · comments

When I parse the following:

.create-or-alter table MyTable ingestion csv mapping "Mapping1"
```
[
{
'column' : 'rownumber',
'DataType' : 'int',
'Properties' :
{
'Ordinal' : '0'
}
}
]
```

The parsed command returned has a CommandKind == "CreateOrAleterWorkloadGroup" (instead of "CreateTableIngestionMapping" or similar).

When using a .create (not .create-or-alter), the command kind is "CreateTableIngestionMapping"

There does not appear to be a create-or-alter table ingestion mapping command defined for intellisense. There is a create and an alter, but not a create-or-alter.

Can we add it?

I've added these command variations to Kusto.Language. It should work now.

Thank you! I assume the package will be updated with those changes in next publish?