-
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: Lift Subqueries when outer QM's select can be pushed down into… #7843
Conversation
protected override Expression VisitSubQuery(SubQueryExpression expression) | ||
{ | ||
TransformingVisitor.VisitQueryModel(expression.QueryModel); | ||
return expression; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add newline before return
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for reminding, it should be changed to base visitor actually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And base returns expression only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maumar - Decide what you want? return Expression
or call base? 😛
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
call base is "more correct" ;)
77984e0
to
2562839
Compare
2562839
to
6bb74c7
Compare
6bb74c7
to
9d27856
Compare
@maumar - Updated. |
01208a8
to
8b2f7cd
Compare
… subqueryQM Apply QueryOptimizer recursively on all QueryModels Introduce SubQueryExpressionVisitor<IQueryModelVisitor> to apply QMV's recursively.
8b2f7cd
to
b883abe
Compare
… subqueryQM
Apply QueryOptimizer recursively on all QueryModels
Introduce SubQueryExpressionVisitor to apply QMV's recursively. @maumar
Partially fix #7831