Skip to content
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: Lift pending collections property when applying single result … #19345

Merged
merged 1 commit into from
Dec 26, 2019

Conversation

smitpatel
Copy link
Member

…projection

Resolves #18812
Issue: When generating left join for single result using RowNumber, pending collection from inner was bubbling up but we lost it when generating join.
Later when we encountered CollectionShaperExpression, we threw exception since projectionBindingExpression there references collectionId rather than actual projection

Fix: Copy over pending collection for join. Remap collection shapers if any.

…projection

Resolves #18812
Issue: When generating left join for single result using RowNumber, pending collection from inner was bubbling up but we lost it when generating join.
Later when we encountered CollectionShaperExpression, we threw exception since projectionBindingExpression there references collectionId rather than actual projection

Fix: Copy over pending collection for join. Remap collection shapers if any.
@smitpatel smitpatel merged commit 4eeed38 into master Dec 26, 2019
@smitpatel smitpatel deleted the smit/issue18812 branch December 26, 2019 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subquery in Single fails with KeyNotFoundException
2 participants