zlacker

[parent] [thread] 2 comments
1. _huayr+(OP)[view] [source] 2024-08-24 19:02:23
Does KQL still enforce no blank lines in the `let` clauses to the expression?

When I last used KQL, it was infuriating that I could create my `let` clauses in chunks separated by whitespace because a blank line would be considered a terminated statement (and Kusto would say "Hey where's your expression?!"). This meant every Kusto file was a sea of text with no clear differentiation between subsequent clauses. I ended up using 3 blank comment lines as a "fake empty line" just to maintain my sanity.

Again, hope they fixed that by now...

replies(2): >>LeonB+e3 >>beober+A6
2. LeonB+e3[view] [source] 2024-08-24 19:27:17
>>_huayr+(OP)
I’m not sure if that’s fixed, it seems pretty much “by design”, with the way the editor (in the browser) selects the “current query” for you.
3. beober+A6[view] [source] 2024-08-24 19:53:01
>>_huayr+(OP)
I’m nearly positive that’s an editor “feature”. If you submit queries via the API, you can have blank lines.
[go to top]