-
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
Fixing some small bugs in sql generation #16112
Conversation
maumar
commented
Jun 15, 2019
- removing redundant term in Contains translation with constant argument,
- fixing logic around IN sql gen,
- clean up logic around de morgan optimization,
- adding new optimization op(a, b) == true -> op(a, b),
- removing a number of tests that are no longer relevant due to query pipeline changes.
|
||
|
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.
seems that we are no longer removing whitespaces here - is that expected?
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.
Will review again later.
src/EFCore.Relational/Query/Pipeline/InExpressionValuesExpandingExpressionVisitor.cs
Outdated
Show resolved
Hide resolved
src/EFCore.Relational/Query/Pipeline/SqlExpressionOptimizingVisitor.cs
Outdated
Show resolved
Hide resolved
37643f7
to
e9b9fb0
Compare
new version up |
SqlExpressionFactory = sqlExpressionFactory; | ||
} | ||
|
||
protected QueryCompilationContext QueryCompilationContext { get; private set; } |
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.
Expose only useRelationalNulls?
- removing redundant term in Contains translation with constant argument, - fixing logic around IN sql gen, - clean up logic around de morgan optimization, - adding new optimization op(a, b) == true -> op(a, b), - removing a number of tests that are no longer relevant due to query pipeline changes.
e9b9fb0
to
aafc355
Compare