microsoft / Kusto-Query-Language

Kusto Query Language is a simple and productive language for querying Big Data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intellisense false positive - top-nested aggregation field reference

dimitri-b opened this issue · comments

The following code has an item redlined but the query runs without errors.

datatable (Item:string, Condition:string, Value:int) 
    [
        "apples","fresh",50, 
        "apples","dry",50, 
        "oranges","fresh",20, 
        "bananas","fresh",30
    ]
| top-nested 1 of Item by sum(Value), top-nested 100 of Value by TotalValue = sum(Value)
| project Item, TotalValue

May be related to issue #5

image

Thanks, Dmitry. This issue was fixed by @mattwar and the code is expected to be sync'ed soon.

This is fixed now.