You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to create a function via ParseAndCreateCommand fails when the parsed function has empty lines. I was able to repro the failure, which is thrown from CreateFunctionCommand::TrimFunctionSchemaBody, with the below function.
.create-or-alter function aa()
{
// something
range dateHour from 1d to 10d step 1d
}
The issue appears to be upstream from CreateFunctionCommand, potentially in KustoCode.Parse, which only parses ".create-or-alter function with (skipvalidation = \"true\") aa() {". Is this empty line behavior expected? If so, should the fix be made in Kusto.Language package?
The text was updated successfully, but these errors were encountered:
Attempting to create a function via
ParseAndCreateCommand
fails when the parsed function has empty lines. I was able to repro the failure, which is thrown fromCreateFunctionCommand::TrimFunctionSchemaBody
, with the below function.The issue appears to be upstream from
CreateFunctionCommand
, potentially inKustoCode.Parse
, which only parses".create-or-alter function with (skipvalidation = \"true\") aa() {"
. Is this empty line behavior expected? If so, should the fix be made inKusto.Language
package?The text was updated successfully, but these errors were encountered: