I can't figure out why batches in Azure log analytics queries do not work as I expect from documentation. For example, this query should return two tabular results.
let m = materialize(StormEvents | summarize n=count() by State);
m | where n > 2000;
m | where n < 10
I try to do the same, and always get result only for the first of my subqueries, e.g. in this case only one table and one entry is returned, while the second subquery is not executed (I can leave mistakes in it and they are not caught upon execution).
let someMetrics = materialize (customMetrics | where timestamp > ago (1h));
someMetrics | take 1;
someMetrics | take 3