-
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: composing projection on top of FromSql doesn't get translated correctly #16079
Comments
For the record it is correct translation, just gets more data because we lifted subquery. |
I'm not sure I understand the answer. Is the current behavior going to be changed? If not, can you explain why the following queries should generate different queries:
Interesting enough,
Fetching unnecessary columns lowers performance and the current behavior feels like a bug because it occurs "randomly", at least from the point of view of the developer using the EF. Tested with
|
I may just do it as tiny project. |
test:
FromSqlRaw_queryable_simple_projection_composed
expected sql:
actual sql:
The text was updated successfully, but these errors were encountered: