.create-or-alter mapping recognized as CreateOrAleterWorkloadGroup
vplauzon opened this issue · comments
Vincent-Philippe Lauzon commented
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).
Vincent-Philippe Lauzon commented
When using a .create (not .create-or-alter), the command kind is "CreateTableIngestionMapping"
Matt Warren commented
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.
Vincent-Philippe Lauzon commented
Can we add it?
Matt Warren commented
I've added these command variations to Kusto.Language. It should work now.
Vincent-Philippe Lauzon commented
Thank you! I assume the package will be updated with those changes in next publish?