Query: Include should use a robust way to identity nullable QSRE in IncludeResultOperator #10104
Labels
closed-out-of-scope
This is not something that will be fixed/implemented and the issue is closed.
type-cleanup
While fixing #10045, we added nullable and convert node around QSRE because during include we lack the information about QSRE. As a side effect during SelectExpression.AddToOrderBy we need to pattern match both ways apart from expressionEqualityComparer. Same is the case in Distinct erasing order by or include trying to find if projection/orderby has been added or not.
Instead we should try to accurately find out nullability of QSRE in include so that rest of stack can be consistent about it and does not require to look for multiple patterns when searching.
The text was updated successfully, but these errors were encountered: