.create-or-alter function with (docstring= "Docs", folder = "FolderPath", skipvalidation = "true") Function_Name(startTime:datetime, lookbackPeriod:timespan) {
MyTable
...
| where kind == 1 // this line causes problems
}
GetSyntaxDiagnostics() returns list of Diagnostic with unclear messages: "Expected: = Expected: token Missing expression Expected: }".
When I am trying to apply command in Kusto - everything is fine, no syntax or other errors.
If I try to add | where kind == 1 to any existing valid command with function - GetSyntaxDiagnostics returns some errors.
Hi team, could you please assist?
We have the following command:
GetSyntaxDiagnostics()
returns list ofDiagnostic
with unclear messages: "Expected: = Expected: token Missing expression Expected: }".When I am trying to apply command in Kusto - everything is fine, no syntax or other errors. If I try to add
| where kind == 1
to any existing valid command with function - GetSyntaxDiagnostics returns some errors.Kusto.Language Version=11.0.0.0
Any ideas what could be wrong?