The issue was the blank line after the let; command. After removing the blank line, everything is working properly. 😅
Azure Data Explorer: delta-kusto error in parsing update policy
Hi,
I'm trying to follow this tutorial https://github.com/microsoft/delta-kusto/blob/main/documentation/tutorials/overview-tutorial/README.md
and at this step
delta-kusto -p download-dev.yaml -o tokenProvider.login.tenantId=$tenantId tokenProvider.login.clientId=$clientId tokenProvider.login.secret=$secret jobs.download-dev.target.adx.clusterUri=$clusterUri)
I'm getting an error "Error: Issue parsing script Exception encountered: System.InvalidOperationException ; Function body was expected to be surrounded by curly brace but isn't: {..."
My update policy is something like this:
.create-or-alter function with (docstring = "Ingest raw telemetry data",folder = "ingestprojection") ParseTelemetry() {
let JobNumbers =
.... ;
InjectionMoulding
| mv-expand values
| extend convertedTimestamp = tolong(timestamp) * 1ms
| project ....
....
}
Did anyone experience a similar issue and/or know how to solve it?
Thanks,
Elisa