Azure / azure-kusto-dotnet

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

GenerateExternalSqlTableCreateOrAlterCommand does not alter - only create #10

Closed chriswue closed 1 year ago

chriswue commented 1 year ago

Unlike the name implies the GenerateExternalSqlTableCreateOrAlterCommand function issues a '.create' and not a .create-or-alter command. Currently we work around this by string replacing '.create external table' with .create-or-alter external table in the command. Would be nice to fix this correctly. I would submit a PR since it seems an easy fix but the SDK doesn't seem to be open-source.

slavikn84 commented 1 year ago

Thanks for reporting. Checking.

slavikn84 commented 1 year ago

Ack, this is a bug. 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.