-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query: Validate SelectExpression for outer referencing when lifting Apply into Join #17112
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Comments
smitpatel
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Aug 15, 2019
smitpatel
added a commit
that referenced
this issue
Aug 15, 2019
- Validate inner select expression after extracting join predicate that it does not contain reference to outer. - Also apply same logic for generating collections in projection. - Identify DefaultIfEmpty in collectionSelector of SelectMany accurately. This fix up a lot of N+1 evaluation queries. Resolves #17112 Resolves #16311
smitpatel
added a commit
that referenced
this issue
Aug 15, 2019
- Validate inner select expression after extracting join predicate that it does not contain reference to outer. - Also apply same logic for generating collections in projection. - Identify DefaultIfEmpty in collectionSelector of SelectMany accurately. This fix up a lot of N+1 evaluation queries. Resolves #17112 Resolves #16311
smitpatel
added a commit
that referenced
this issue
Aug 15, 2019
- Validate inner select expression after extracting join predicate that it does not contain reference to outer. - Also apply same logic for generating collections in projection. - Identify DefaultIfEmpty in collectionSelector of SelectMany accurately. This fix up a lot of N+1 evaluation queries. Resolves #17112 Resolves #16311
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
CROSS APPLY can be converted to INNER JOIN
OUTER APPLY can be converted to LEFT JOIN.
But only if the inner SelectExpression does not contain reference to outer.
The text was updated successfully, but these errors were encountered: