Azure / azure-kusto-dotnet

Azure Data Explorer (Kusto) SDK for .NET
MIT License
6 stars 3 forks source link

GenerateExternalAzureStorageTableCreateOrAlterCommand_Internal doesn't issue a create-or-alter command #12

Closed chriswue closed 1 year ago

chriswue commented 1 year ago

Basically all convenience functions in the CslCommandGenerator class that follow the GenerateXYZCreateOrAlterCommand naming convention generate a .create-or-alter command except GenerateExternalAzureStorageTableCreateOrAlterCommand_Internal (which all the external storage table create commands boil down to) that either outputs a .create (default) or an .alter (when the alter parameter is set to true). This breaks consistency and also makes it less useful since you cannot generate a .create-or-alter statement which is arguably the most useful command when dealing with schema management.

slavikn84 commented 1 year ago

Ack. Thanks for reporting this inconsistency. We'll fix, and will release a new SDK version in January. I'll update here when we do.

slavikn84 commented 1 year ago

@chriswue, the bug is fixed in the latest SDK version. Again, thanks for reporting.