Azure / azure-kusto-dotnet

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

GenerateExternalAzureStorageTableCreateOrAlterCommand creates invalid partition by definition #11

Closed chriswue closed 1 year ago

chriswue commented 1 year ago

When passing a partitionList it will generate a partition by clause like this: partition by p1, p2, p3, ... which is not accepted by ADX. The partitions need to be enclosed in parenthesis like this partition by (p1, p2, p3, ...)

slavikn84 commented 1 year ago

Thanks for reporting. Checking.

slavikn84 commented 1 year ago

(Wrong comment - so deleting)

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.