Repository navigation
Query: Lift Subqueries when outer QM's select can be pushed down into… - #7843
Merged
Merged
Conversation
maumar
reviewed
Mar 10, 2017
| protected override Expression VisitSubQuery(SubQueryExpression expression) | ||
| { | ||
| TransformingVisitor.VisitQueryModel(expression.QueryModel); | ||
| return expression; |
Contributor
There was a problem hiding this comment.
nit: add newline before return
Contributor
Author
There was a problem hiding this comment.
thanks for reminding, it should be changed to base visitor actually.
Contributor
Author
There was a problem hiding this comment.
And base returns expression only. ![]()
Contributor
Author
There was a problem hiding this comment.
@maumar - Decide what you want? return Expression or call base? 😛
Contributor
There was a problem hiding this comment.
call base is "more correct" ;)
smitpatel
force-pushed
the
queryoptimizer
branch
from
March 10, 2017 20:30
77984e0 to
2562839
Compare
maumar
approved these changes
Mar 10, 2017
smitpatel
force-pushed
the
queryoptimizer
branch
from
March 10, 2017 20:39
2562839 to
6bb74c7
Compare
smitpatel
force-pushed
the
queryoptimizer
branch
from
March 10, 2017 21:11
6bb74c7 to
9d27856
Compare
Contributor
Author
|
@maumar - Updated. |
smitpatel
force-pushed
the
queryoptimizer
branch
3 times, most recently
from
March 10, 2017 22:44
01208a8 to
8b2f7cd
Compare
… subqueryQM Apply QueryOptimizer recursively on all QueryModels Introduce SubQueryExpressionVisitor<IQueryModelVisitor> to apply QMV's recursively.
smitpatel
force-pushed
the
queryoptimizer
branch
from
March 10, 2017 23:23
8b2f7cd to
b883abe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… subqueryQM
Apply QueryOptimizer recursively on all QueryModels
Introduce SubQueryExpressionVisitor to apply QMV's recursively. @maumar
Partially fix #7831