Consider writing following KQL
print datetime('2025-01-01 00:05:00') - dynamic(3m)
| extend type = gettype(print_0)
the result is:
but using KustoCode.ParseAndAnalyze will result in ResultType of the last QueryOperator to be:
Which is wrong as print_0 column needs to be of timespan type, looking into the code found issue to be return type of the Subtract in Kusto.Language.Operators:
