This commit is contained in:
Monica Gupta
2020-09-17 20:33:33 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ namespace Microsoft.Kusto.ServiceLayer.Scripting
// TODOKusto: Extract into the Kusto folder.
selectQuery.Append($"{KustoQueryUtils.EscapeName(urn.GetAttribute("Name"))}");
selectQuery.Append($"{KustoQueryUtils.StatementSeparator}");
selectQuery.Append("limit 10");
selectQuery.Append("take 10");
return selectQuery.ToString();
}

View File

@@ -17,7 +17,7 @@ namespace Microsoft.Kusto.ServiceLayer.UnitTests.Scripting
var scripter = new Scripter();
var result = scripter.SelectFromTableOrView(mockDataSource.Object, urn);
Assert.AreEqual("[@\"quoted'Name\"]\n | limit 1000", result);
Assert.AreEqual("[@\"quoted'Name\"]\n | take 10", result);
}
[Test]