Archived
Kusto control command with comments or spaces (#1074)
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
This commit is contained in:
co-authored by
Monica Gupta
parent
d39a67df30
commit
f25fb3c5d7
@@ -229,6 +229,9 @@ namespace Microsoft.Kusto.ServiceLayer.DataSource
|
||||
cancellationToken.Register(() => CancelQuery(clientRequestProperties.ClientRequestId));
|
||||
}
|
||||
|
||||
var kustoCodeService = new KustoCodeService(query);
|
||||
query = kustoCodeService.GetMinimalText(MinimalTextKind.RemoveLeadingWhitespaceAndComments);
|
||||
|
||||
IDataReader origReader = KustoQueryProvider.ExecuteQuery(
|
||||
KustoQueryUtils.IsClusterLevelQuery(query) ? "" : databaseName,
|
||||
query,
|
||||
|
||||
Reference in New Issue
Block a user