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

Operator `!endswith_cs` interpreted as `!endswith` #66

Closed davidnx closed 2 years ago

davidnx commented 2 years ago

There's a typo here: https://github.com/microsoft/Kusto-Query-Language/blob/71cea3e24c53cc237f822d1a9aa95340994d23d2/src/Kusto.Language/Binder/Binder_Operators.cs#L212-L213

Really we should return OperatorKind.NotEndsWithCs in this case. This is causing the ReferencedSymbol for the BinaryOperatorExpression node to reference the wrong symbol (Operators.NotEndsWith Vs. Operators.NotEndsWithCs)

sloutsky commented 2 years ago

Thanks, David we will be fixing this soon

mattwar commented 2 years ago

This is fixed now.