-
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: compilation error for query with Except projecting a constant #12568
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Comments
This issue disappears with the new implementation of set operations (PR #16249). |
roji
added a commit
to roji/efcore
that referenced
this issue
Jun 26, 2019
Also found some more skipped set operation tests, unskipped and rearranged them. Fixes dotnet#12568
roji
added a commit
that referenced
this issue
Jun 26, 2019
Also found some more skipped set operation tests, unskipped and rearranged them. Fixes #12568
roji
added a commit
to roji/efcore
that referenced
this issue
Jun 26, 2019
Also found some more skipped set operation tests, unskipped and rearranged them. Fixes dotnet#12568
roji
added a commit
to roji/efcore
that referenced
this issue
Jun 27, 2019
Also found some more skipped set operation tests, unskipped and rearranged them. Fixes dotnet#12568
roji
added a commit
that referenced
this issue
Jun 27, 2019
Also found some more skipped set operation tests, unskipped and rearranged them. Fixes #12568
roji
added a commit
to roji/efcore
that referenced
this issue
Jun 27, 2019
Also found some more skipped set operation tests, unskipped and rearranged them. Fixes dotnet#12568
roji
added a commit
that referenced
this issue
Jun 27, 2019
Also found some more skipped set operation tests, unskipped and rearranged them. Fixes #12568
ajcvickers
added
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Jun 27, 2019
roji
added a commit
that referenced
this issue
Jun 28, 2019
Also found some more skipped set operation tests, unskipped and rearranged them. Fixes #12568
roji
removed
the
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
label
Jul 2, 2019
The original issue disappears but the test now fails with: System.InvalidCastException : Unable to cast object of type 'System.String' to type 'System.Int32'.
at Microsoft.Data.SqlClient.SqlBuffer.get_Int32()
at Microsoft.Data.SqlClient.SqlDataReader.GetInt32(Int32 i)
at Microsoft.EntityFrameworkCore.Relational.Query.Pipeline.RelationalShapedQueryCompilingExpressionVisitor.QueryingEnumerable`1.Enumerator.MoveNext() in /home/roji/projects/EFCore/src/EFCore.Relational/Query/Pipeline/QueryingEnumerable.cs:line 143
at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Microsoft.EntityFrameworkCore.Query.SimpleQueryTestBase`1.Union_Select_constant() in /home/roji/projects/EFCore/test/EFCore.Specification.Tests/Query/SimpleQueryTestBase.SetOperations.cs:line 225
at Microsoft.EntityFrameworkCore.Query.SimpleQuerySqlServerTest.Union_Select_constant() in /home/roji/projects/EFCore/test/EFCore.SqlServer.FunctionalTests/Query/SimpleQuerySqlServerTest.SetOperations.cs:line 211 |
Check the shaper expression before compiling into QueryingEnumerable. Possible cause of error is unexpected column getting projected and mangling index. |
Verified and this no longer fails. |
roji
added
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
and removed
punted-for-3.0
punted-for-3.1
labels
Oct 24, 2019
roji
added a commit
that referenced
this issue
Oct 24, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
query:
exception:
The text was updated successfully, but these errors were encountered: