microsoft / Kusto-Query-Language

Kusto Query Language is a simple and productive language for querying Big Data.
Apache License 2.0
511 stars 97 forks source link

Intellisense false positive - top-nested aggregation field reference #5

Closed dimitri-b closed 4 years ago

dimitri-b commented 4 years ago

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

sloutsky commented 4 years ago

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

mattwar commented 4 years ago

This is fixed now.