-
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
New EF.Constant handling #34297
New EF.Constant handling #34297
Conversation
src/EFCore/Query/Internal/QueryableMethodNormalizingExpressionVisitor.cs
Show resolved
Hide resolved
test/EFCore.SqlServer.FunctionalTests/Query/PrimitiveCollectionsQuerySqlServerTest.cs
Outdated
Show resolved
Hide resolved
8c9275a
to
bdddc2b
Compare
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.
Really good first attempt @cincuranet, this covers many parts of the query pipeline and it's great to see all this work. See below for all my comments.
Note that it would be good to add some tests which cover the bugs in the current implementations (e.g. inline collection with a single scalar parameter, which shouldn't get treated as a "values parameter").
src/EFCore.Cosmos/Query/Internal/CosmosQueryableMethodTranslatingExpressionVisitor.cs
Outdated
Show resolved
Hide resolved
src/EFCore.Cosmos/Query/Internal/CosmosQueryableMethodTranslatingExpressionVisitor.cs
Outdated
Show resolved
Hide resolved
src/EFCore.Relational/Query/IRelationalParameterBasedSqlProcessorFactory.cs
Outdated
Show resolved
Hide resolved
test/EFCore.SqlServer.FunctionalTests/Query/PrimitiveCollectionsQueryOldSqlServerTest.cs
Outdated
Show resolved
Hide resolved
src/EFCore.Design/Query/Internal/LinqToCSharpSyntaxTranslator.cs
Outdated
Show resolved
Hide resolved
/azp run |
Pull request contains merge conflicts. |
322700a
to
0eb0c37
Compare
@roji This is ready for another review pass. |
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.
Almost LGTM, see only nits below 🎉
Can fix the nits, but please don't merge yet though - I want to take a look at the precompiled query code there.
src/EFCore.Relational/Query/IRelationalParameterBasedSqlProcessorFactory.cs
Outdated
Show resolved
Hide resolved
src/EFCore.Relational/Query/RelationalQueryableMethodTranslatingExpressionVisitor.cs
Outdated
Show resolved
Hide resolved
src/EFCore.Relational/Query/RelationalQueryableMethodTranslatingExpressionVisitor.cs
Outdated
Show resolved
Hide resolved
src/EFCore.Relational/Query/RelationalQueryableMethodTranslatingExpressionVisitor.cs
Outdated
Show resolved
Hide resolved
src/EFCore.Relational/Query/RelationalQueryableMethodTranslatingExpressionVisitor.cs
Outdated
Show resolved
Hide resolved
test/EFCore.Specification.Tests/Query/PrimitiveCollectionsQueryTestBase.cs
Outdated
Show resolved
Hide resolved
test/EFCore.Specification.Tests/Query/PrimitiveCollectionsQueryTestBase.cs
Outdated
Show resolved
Hide resolved
src/EFCore.Relational/Query/RelationalShapedQueryCompilingExpressionVisitor.cs
Outdated
Show resolved
Hide resolved
24e1821
to
027557c
Compare
25c5c1b
to
92863d9
Compare
Fixes #33674