Open maumar opened 4 years ago
We could either put something on SqlExpression or on the visitor itself
I vote for SqlExpression.IsNullability RO-property.
@maumar - Is this issue still relevant after the changes we made to null semantics visitor?
Currently when processing null semantics we only remember nullability of the last node that has been processed. This is fine for most optimizations, however not good for all. Sometimes, when the expression is simplified significantly we would like to know the nullability of the part that is left, but that has been already lost.
We could either put something on SqlExpression or on the visitor itself