Closed pdobacz closed 2 years ago
I don't think this is right. This needs to be handled in the normalizer. I think the order of folding is incorrect.
After looking at the normalizer, I see that the constant folder calls this functions and after all seems to be right.
This line https://github.com/diffix/reference/blob/master/src/OpenDiffix.Core/Normalizer.fs#L19 evaluates the
cast(1.01 as real)
which used to be invalid cast.