microsoft / Kusto-Query-Language

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

Please provide changelog #128

Closed cmenzi closed 6 months ago

cmenzi commented 9 months ago

We just had the issue that after upgrading to 13.3.3 we get an error KS206 that now the case statement, needs to have an orderable datatype. Several of our customers used it like in the screenshot and as we use monaco and also validating queries in our backend, a lot queries are invalid now after the update and couldn't be saved anymore.

But the queries with this error can still be executed even the library reports severity "error".

image image (1)

Therefore, I have some questions and suggestions:

@avneraa

mattwar commented 9 months ago

This is a bug in the semantic analysis for the case function. If the type of Value is dynamic, the case function is returning type dynamic, when it should be returning type real corresponding to the other non-dynamic argument. The max aggregate is complaining that its argument is typed as dynamic.

mattwar commented 6 months ago

This has been fixed.